Calculate Squared-Error Loss Gradients | TensorTonic