tensorflow MDA custom loss and ValueError: No gradients provided for any variable
tensorflow MDA custom loss and ValueError: No gradients provided for any variable Question: I would like to use the MDA (mean direction accuracy) as a custom loss function for a tensorflow neural network. I am trying to implement this as described in here: Custom Mean Directional Accuracy loss function in Keras def mda(y_true, y_pred): s …