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

Question about backward hook #10

Open
d223302 opened this issue Mar 9, 2024 · 0 comments
Open

Question about backward hook #10

d223302 opened this issue Mar 9, 2024 · 0 comments

Comments

@d223302
Copy link

d223302 commented Mar 9, 2024

Hi, thank you for the implementation of EKFAC.
I am trying to understand why do we need to multiply the gradient with the batch size in the backward hook as shown here?
Is it because the loss is averaged over the batch?

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

1 participant