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

how to calculate gradient without calculating function outputs #123

Open
wayhoww opened this issue Jan 7, 2021 · 0 comments
Open

how to calculate gradient without calculating function outputs #123

wayhoww opened this issue Jan 7, 2021 · 0 comments

Comments

@wayhoww
Copy link

wayhoww commented Jan 7, 2021

The expression is y = A' * B where A, B are vectors. Calculating A' * B is useless when calculating dy/dA and dy/dB, but are time consuming.

These kind of problems won't significantly affect the speed in deep learning scenarios but adds a lot of consumed time when the "network" is really shallow.

So is there any way to calculate gradient without calculating function outputs?

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