-
Notifications
You must be signed in to change notification settings - Fork 764
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
映射文档 No. 370 #6116
映射文档 No. 370 #6116
Conversation
paddle.nn.functional.dropout(x, p=0.5, axis=None, training=True, mode='upscale_in_train', name=None) | ||
``` | ||
|
||
其中 PyTorch 相比 Paddle 支持更多其他参数,具体如下: |
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.
可以再详细一点解释下两者细微差异,torch对于dropout1d/dropout2d/dropout3d,是将某个Channel以一定概率全部置0,paddle是所有元素以一定概率置0
然后再说下 但该差异一般不影响网络训练效果
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.
已修改
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.
dropout2d、dropout3d的文档也顺便一起补上吧
增加 torch.nn.functional.dropout2d/dropout3d |
PaddlePaddle/PaConvert#112
370 torch.nn.functional.dropout1d