class MSELossLayer method __init__ __init__() method backward backward() Gradient $\nabla_x \ell = 2(x - y)$ method forward forward(inputs, feedbacks=None) Loss $\ell_i = \sum_{i} (x_i - y_i)^2$ method step step(lr=0.01)