-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Hackathon 7th No.20】为 Paddle 新增 Tensor.set_ -part #6935
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6935.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
| source | source | 设置的目标 Tensor。 | | ||
| storage_offset | offset | 表示距离内存数据起始位置的偏移量。Pytorch 是指偏移数字的个数,而 Paddle 是指偏移数字对应存储位置的偏移量(以 byte 为单位),需要转写。 | | ||
| size | shape | 设置的目标形状, 仅参数名不一致。 | | ||
| stride | stride | 设置的目标步长,。 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
格式有点问题
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for docs
refer to: PaddlePaddle/Paddle#68681