Hi,
It seems that this repo have the same issue as HIPS/autograd#541 and pytorch/pytorch#28651 .
However, it's quiet more complicated than I fix in autograd, so I have no clues how to fix it.
The following is here I found
- The
min and max function will take the ans into account to determine their derivatives, and the type of these two is standard_binop, which is same as power.
- The definition of VJP in jax is different than autograd, which is more dynamic ( I mean the argument of VJP can be different, not the fixed form
lambda g, ans, x, y )
Could your priors guide me to fix this issue?
It may be solved after I finally find out how jax works, but if someone can help me or give me some hints, it will be great!
Hi,
It seems that this repo have the same issue as HIPS/autograd#541 and pytorch/pytorch#28651 .
However, it's quiet more complicated than I fix in autograd, so I have no clues how to fix it.
The following is here I found
minandmaxfunction will take theansinto account to determine their derivatives, and the type of these two isstandard_binop, which is same aspower.lambda g, ans, x, y)Could your priors guide me to fix this issue?
It may be solved after I finally find out how jax works, but if someone can help me or give me some hints, it will be great!