Closed mfschubert closed 6 months ago
This test is useful, as the vector field calculation includes a stop_gradient, and therefore may have some error. This test suggests the error is small, generally < 1e-2.
stop_gradient
If we want to really check the accuracy of the gradient here, we should do richardson extrapolation on the step size.
This test is useful, as the vector field calculation includes a
stop_gradient
, and therefore may have some error. This test suggests the error is small, generally < 1e-2.