class Num::NN::MSELoss(T)

Defined in:

nn/loss/mse.cr

Instance Method Summary

Instance methods inherited from class Num::NN::Loss(T)

loss(input : Num::Grad::Variable(T), target : T) : Num::Grad::Variable(T) loss

Instance Method Detail

def loss(input : Num::Grad::Variable(T), target : T) : Num::Grad::Variable(T) #

[View source]