Created
June 22, 2020 06:22
-
-
Save maskaravivek/0a19f0356d1d9c673bb3c7b1c5368cff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow.keras.backend as k | |
def custom_loss(y_actual, y_pred): | |
custom_loss = k.square(y_actual-y_pred) | |
return custom_loss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment