How to find jacobian of learnt neural network model

That’s not a gradient, that’s the Jacobian of f. See Zygote.jacobian.