Measuring Error: Loss Functions and Gradients in JAX | CodeSignal Learn