ยป Keras API reference / Callbacks API / TerminateOnNaN

TerminateOnNaN

TerminateOnNaN class

tf.keras.callbacks.TerminateOnNaN()

Callback that terminates training when a NaN loss is encountered.