On GitHub
On COLAB
This tutorial goes over Loss objects, how they can be declared and assigned, and how to build a custom Loss.
Printing out currently declared losses
Declaring new losses via the Task object