-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
修改COPY-FROM No. 3 autograd #54921
修改COPY-FROM No. 3 autograd #54921
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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.
这个 PR 不要加 test=document_fix
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.
应该是因为加了 test=document_fix 导致这边没有编译新的 wheel 包,进而 COPY 不过去,新提一个空的 commit 触发这边 build CI,之后重新触发 docs CI 试试
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.
Done
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.
merge 的应该也算吧
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.
应该算吧
… into doc_add_autograd_copy_from
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.
2023-07-03 23:49:22 ----------------End of the Check--------------------
2023-07-03 23:49:22 In addition, mistakes found in sample codes: samplecode_temp/paddle.autograd.PyLayer_example.py
2023-07-03 23:49:22 1 sample codes ran success
2023-07-03 23:49:22 1 sample codes ran failed
2023-07-03 23:49:22 samplecode_temp/paddle.autograd.PyLayer_example.py
2023-07-03 23:49:22 Mistakes found in sample codes. Please recheck the sample codes.'
2023-07-03 23:49:22
示例代码单测失败
@wanghuancoder 辛苦review一下,因为代码是从docs下的中文文档原封不动迁移过来的。 |
python/paddle/autograd/py_layer.py
Outdated
|
||
data = paddle.randn([2, 3], dtype="float64") | ||
data.stop_gradient = False | ||
z = cus_tanh.apply(data, func1=paddle.tanh) |
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.
示例报错,把如下代码删掉吧:
, func1=paddle.tanh
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.
Done
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
* [autograd] add copy-from; test=document_fix * [autograd] add copy-from; test=document_fix * fix
PR types
Others
PR changes
Others
Description
修改COPY-FROM No. 3 autograd