-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
add cumprod op #35185
add cumprod op #35185
Conversation
✅ This PR's description meets the template requirements! |
Thanks for your contribution! |
This reverts commit c96cf6d.
['X'], | ||
'Out', | ||
user_defined_grads=[self.grad_x], | ||
user_defined_grad_outputs=[self.grad_out]) |
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.
I prefer to using user_defined_grads
and user_defined_grad_outputs
only in complex cases.
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 codes. But not quite sure on the UT timeout settings. Please have a look @XieYunshen .
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.
LG API
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 set_tests_properties(test_cumprod_op PROPERTIES TIMEOUT 120)
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
TODO:fix api docs
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
文档请继续修改
* add test_cumprod_op * Revert "add test_cumprod_op" This reverts commit c96cf6d. * recommit * add error message * test input(x) initialize * test use cpu * update test code * add test type * add test case * solve ci problem * add complex case test * add complex case test * fix review problem * fix conflict * fix some docs * change test case * change test case * fix review problems again * fix docs * fix inclusivescan bug
PR types
Others
PR changes
OPs
Describe
add cumprod op
中文文档PR链接:PaddlePaddle/docs#3865