-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Update all the examples which use paddle.static.nn.fc. #27904
Conversation
test=document_fix
Thanks for your contribution! |
✅ This PR's description meets the template requirements! |
请@luotao1 帮忙review下。
请@TCChenlong 和@zhiqiu 帮忙review下。 |
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 for framework.py
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
Others
PR changes
Docs
Describe
#27768 修改了

paddle.static.nn.fc
接口的部分参数名,但是一些代码示例没有随之改过来。这个PR修复所有引用到paddle.static.nn.fc
的代码示例。其中红色框标注的是源码实现中,调用的是
fluid.layers.nn.fc
,具体见https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/fluid/layers/rnn.py#L3397 ,因此不用修改。