You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I'm not sure if there are any actual use cases that will use Integer in reverse mode, thus I'm not sure if we should have more restrict rules on this,
PS. maybe should just dispatch to ChainRules in the future to let ChainRules handle this?
See the first half of this comment. In particular: types are not differentiable or non-differentiable, they just represent certain values. Functions can be continuous or discontinuous, differentiable or non-differentiable, etc.
say f(x)=2x, f'(10) gets 2. Seen from @code_llvm, the gradient function of
f
simply returns 2.What is differentiable type in Zygote? What is non-differentiable type? Here 10 is integer type. Does it matter or not?
The text was updated successfully, but these errors were encountered: