-
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
elu gelu relu logsigmoid, test=develop #26304
Conversation
Thanks for your contribution! |
res = functional.relu(data) # [0, 0, 1] | ||
paddle.disable_static() | ||
|
||
x = paddle.to_variable(p.array([-2, 0, 1]).astype('float32')) |
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.
np.array
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
Fluid Doc PR PaddlePaddle/docs#2407 |
PR types
Others
PR changes
APIs
Describe
新增/修改如下2.0 API:
ELU:
GELU
ReLU
LogSigmoid