Custom loss functions

Double post with answer from here.

1 Like