Loss Functions in Deep Learning with PyTorch
Goal¶
This post aims to compare loss functions in deep learning with PyTorch
.
The following loss functions are covered in this post:
- Mean Absolute Error (L1 Loss)
- Mean Square Error (L2 Loss)
- Binary Cross Entropy (BCE)
- Kullback-Leibler divergence (KL divergence)
Reference