-
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
[API 2.0] Fix api sum:(1)input->x;(2)dim->axis;(3)keep_dim->keepdim #26337
Conversation
Thanks for your contribution! |
4deae95
to
c860b76
Compare
添加动态图的单测 添加tuple支持的单测? |
…. test=develop Change-Id: I5d8092b01131236906bb09bdd039a3ac3b20e0ef
Thanks, 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,王超的意见增加dim为tuple的单测可以加一下,这个倒不是你代码可能有问题,这样单测也可以防止未来有人没考虑和犯错。
…e). test=develop Change-Id: I1c357afe0989acefe56a1955010dafac92899e31
好的,已添加axis为tuple的单测。 |
Change-Id: I5aa38c17871b35081ffa6d1d3498a681503ad0a2
Change-Id: I6c98e1f95acca108b4b045e320db0be2b085a75a
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
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
PR types
Breaking changes
PR changes
APIs
Describe
paddle.sum
for API2.0reduce_all
should be True when len(axis) == len(x.shape)