-
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
add nansum api to math #38137
add nansum api to math #38137
Conversation
Thanks for your contribution! |
@@ -193,6 +193,7 @@ | |||
from .tensor.math import square # noqa: F401 | |||
from .tensor.math import stanh # noqa: F401 | |||
from .tensor.math import sum # noqa: F401 | |||
from .tensor.math import nansum # noqa: F401 |
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.
public api should be add in all list below
@@ -151,6 +151,7 @@ | |||
from .math import square # noqa: F401 | |||
from .math import stanh # noqa: F401 | |||
from .math import sum # noqa: F401 | |||
from .math import nansum # noqa: F401 |
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.
for paddle.Tensor.nansum, we should add nansum in list of tensor_method_func below
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
New features
PR changes
APIs
Describe
add nansum api