Skip to content

Latest commit

 

History

History
62 lines (28 loc) · 1.13 KB

mnn.layer.MSELossLayer.md

File metadata and controls

62 lines (28 loc) · 1.13 KB

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)