Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wsmoses
· 5y ago · 0 comments
You don't always need the input to compute the gradient. For example the gradient of a sum function doesn't require the original input, it just sets all of the derivative(input)'s to 1.
Comments
[–]
shoyer
5y ago
To be more precise, in backwards mode auto-diff, inputs only need to be saved if they are used in a non-linear way.