Keras 2 API documentation / Callbacks API / TerminateOnNaN

TerminateOnNaN

[source]

TerminateOnNaN class

tf_keras.callbacks.TerminateOnNaN()

Callback that terminates training when a NaN loss is encountered.