I was trying to implement a custom loss function. so i first tried to make a custom function by directly enclosing of one of the default keras loss functions. tf.keras
tf.keras