【Hackathon 5th No.15】 为 Paddle 新增 Tensor.to() 以及 Layer.astype() API -part by YibinLiu666 · Pull Request #58244 · PaddlePaddle/Paddle

added 3 commits

October 13, 2023 06:15

zhwesky2010

@YibinLiu666

zhwesky2010

@YibinLiu666

zhwesky2010

jeff41404

jeff41404

@YibinLiu666

sunzhongkai588

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>

@YibinLiu666

sunzhongkai588

@luotao1 luotao1 changed the title 【Hackathon 5th No.15】 为 Paddle 新增 Tensor.to() 以及 Layer.astype() API 【Hackathon 5th No.15】 为 Paddle 新增 Tensor.to() 以及 Layer.astype() API -part

Nov 9, 2023

danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request

Nov 14, 2023
…part (PaddlePaddle#58244)

* support tensor.to and layer.astype

* add UT and comments

* update

* update com

* update dtype

* fix example test

* update example

* add some ut to fix ci-coverage

* fix codestyle

* fix codestyle

* update

* add ut to test layer params' and buffers' type

* update test

* fix doc

* Update python/paddle/base/dygraph/tensor_patch_methods.py

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>

* update doc

---------

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>

SecretXV pushed a commit to SecretXV/Paddle that referenced this pull request

Nov 28, 2023
…part (PaddlePaddle#58244)

* support tensor.to and layer.astype

* add UT and comments

* update

* update com

* update dtype

* fix example test

* update example

* add some ut to fix ci-coverage

* fix codestyle

* fix codestyle

* update

* add ut to test layer params' and buffers' type

* update test

* fix doc

* Update python/paddle/base/dygraph/tensor_patch_methods.py

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>

* update doc

---------

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>