Closed adnan1306 closed 6 years ago
Can you please explain how the zero loss function exactly works? def zero_loss(y_true, y_pred): return K.zeros_like(y_true)
Isn't the loss always zero if we use this function?
You are right. For Keras, we have to give the loss for each batch. The zero_loss function returns single zeros for each batch.
Can you please explain how the zero loss function exactly works? def zero_loss(y_true, y_pred): return K.zeros_like(y_true)
Isn't the loss always zero if we use this function?