class Num::NN::SoftmaxCrossEntropyLoss(T)

Defined in:

nn/loss/softmax_cross_entropy.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]