Write Custom Loss Function

Most of the functions are implemented in C / CUDA. For reference, here is the C implementation of NLLLoss

2 Likes