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

Bug in weight standardization? #35

Closed
jamestwebber opened this issue May 4, 2021 · 1 comment
Closed

Bug in weight standardization? #35

jamestwebber opened this issue May 4, 2021 · 1 comment

Comments

@jamestwebber
Copy link

jamestwebber commented May 4, 2021

Pretty sure this should be

fan_in = torch.prod(torch.tensor(self.weight.shape[:-1]))

edit: bug in my suggestion!

@vballoli
Copy link
Owner

vballoli commented May 4, 2021

I believe it's fine. Feel free to re-open or add to the discussions!

@vballoli vballoli closed this as completed May 4, 2021
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