-
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
What is layer's interface standard in Python API ? #8370
Comments
I think we shall avoid using Can anyone show me any examples the |
I agree with you. |
nameI was wishing the layer with the same name shared the same parameters. However, it seems that we have not implemented this feature. We can give an easier way for two layers share the same parameters, and remove the **kwargs
It because we pass the program to each layer function before. Now we change program to global variables. It is no need to use |
Please notice that |
@reyoung I was thinking that we should keep the name everywhere. What I see in the |
Some interfaces have the name, some not.
Paddle/python/paddle/v2/fluid/layers/nn.py
Lines 1432 to 1439 in 279aa62
Paddle/python/paddle/v2/fluid/layers/nn.py
Lines 1136 to 1145 in 279aa62
kwargs
Some interfaces have the
**kwargs
, some not.Paddle/python/paddle/v2/fluid/layers/nn.py
Lines 832 to 836 in 279aa62
Paddle/python/paddle/v2/fluid/layers/nn.py
Lines 818 to 819 in 274f4e9
The text was updated successfully, but these errors were encountered: