When I printed my function (without the function call),
def loss(y_true, y_pred):
return backend.sum(backend.abs(y_true - y_pred))
I got something like
<function __main__.loss>
I need it to return a string like
Absolute Error Sum
Most links I looked at explain how to do the same for class objects. How do I define what string the function should return?