-
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
Adding an example for documentation of layers #5500
Conversation
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
python/paddle/v2/framework/layers.py
Outdated
Args: | ||
input: The input tensor to the function | ||
size: The size of the layer | ||
param_attr: The parameters/weights to the FC Layer |
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.
Need to document what are the parameters for param_attr and bias_attr somewhere.
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.
Could you elaborate more on what parameters for param_attr would mean ?
…o_lod_tensor, create_array, increment
Adding a prototype for one of the functions in
layers.py
. Once the format and content is approved, I can continue working for all other functions in the file. This PR covers: