Skip to content
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

"bias_attr" not used in batch_norm operator in Fluid #7182

Closed
sidgoyal78 opened this issue Jan 4, 2018 · 1 comment
Closed

"bias_attr" not used in batch_norm operator in Fluid #7182

sidgoyal78 opened this issue Jan 4, 2018 · 1 comment
Assignees

Comments

@sidgoyal78
Copy link
Contributor

sidgoyal78 commented Jan 4, 2018

I was adding the documentation for batch norm layer as part of #6526 . It seems that bias_attr is not used in the implementation (even though it is part of the argument list).

Maybe instead of param_attr for the bias, should we use bias_attr?
(https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/fluid/layers/nn.py)

@sidgoyal78
Copy link
Contributor Author

sidgoyal78 commented Jan 10, 2018

@jacquesqiao : I think bias_attr will be part of **locals(), but can you help me understand what is the use of bias_attr in this operator? (As it doesn't seem to come in the equations, but maybe it comes into the picture somehow?). Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants