English
Languages
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



Loss

class Loss[source]

Bases: abc.ABC

Abstract base class for computing Loss.

Methods

__call__(predict, target)

This method calls the evaluate method.

evaluate(predict, target)

An abstract method for evaluating the loss function.

gradient(predict, target)

An abstract method for computing the gradient.