Skip to content

Latest commit

 

History

History

losses

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

📉 Loss Function

This directory contains the loss functions used in common machine learning tasks, such as cross entropy loss, and mean squared error loss. For specific ML task, user can define their own loss function in a similar way by creating a child class of nn.Module and defining the forward(prediction, target) function to compute the loss.