-
Notifications
You must be signed in to change notification settings - Fork 874
[Docathon][Update Doc No.21] update activation #7297
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
Conversation
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7297.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
| conv2d = fluid.layers.conv2d(input=data, num_filters=2, filter_size=3) | ||
| relu1 = fluid.layers.relu(conv2d) | ||
| conv2d = nn.functional.conv2d(input=data, num_filters=2, filter_size=3) |
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.
nn.functional.conv2d 按照其签名修改一下参数:
paddle.nn.functional.conv2d(x, weight, bias=None, stride=1, padding=0, dilation=1, groups=1, data_format='NCHW', name=None)英文版也改一下
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
hardsigmoid hardshrink tanhshrink LogSigmoid不存在激活函数的使用
|
@DrRyanHuang pls review |
DrRyanHuang
left a comment
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
Fix
Description
Repair the document according to Paddle 1.8 与 Paddle 2.0 API 映射表
cn_api_fluid_layers_relucn_api_paddle_nn_functional_relucn_api_fluid_layers_tanhcn_api_paddle_nn_functional_tanhcn_api_fluid_layers_sigmoidcn_api_paddle_nn_functional_sigmoidcn_api_fluid_layers_elucn_api_paddle_nn_functional_elucn_api_fluid_layers_relu6cn_api_paddle_nn_functional_relu6cn_api_fluid_layers_powcn_api_paddle_powcn_api_fluid_layers_stanhcn_api_paddle_stanhcn_api_fluid_layers_hard_sigmoidcn_api_paddle_nn_functional_hard_sigmoidcn_api_fluid_layers_swishcn_api_paddle_nn_functional_swishcn_api_fluid_layers_prelucn_api_paddle_nn_functional_prelucn_api_fluid_layers_leaky_relucn_api_paddle_nn_functional_leaky_relucn_api_fluid_layers_thresholded_relucn_api_paddle_nn_functional_thresholded_relucn_api_fluid_layers_maxoutcn_api_paddle_nn_functional_maxoutcn_api_fluid_layers_logsigmoidcn_api_paddle_nn_functional_logsigmoidcn_api_fluid_layers_hard_shrinkcn_api_paddle_nn_functional_hard_shrinkcn_api_fluid_layers_softsigncn_api_paddle_nn_functional_softsigncn_api_fluid_layers_softpluscn_api_paddle_nn_functional_softpluscn_api_fluid_layers_tanh_shrinkcn_api_paddle_nn_functional_tanh_shrinkcn_api_fluid_layers_softshrinkcn_api_paddle_nn_functional_softshrinkcn_api_fluid_layers_expcn_api_paddle_expThe following APIs have been removed
cn_api_fluid_layers_brelucn_api_fluid_layers_soft_reluThe following APIs have been renamed
The only difference from before is that the underscores have been removed:
issue: #71203
@DrRyanHuang