Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.keras.callbacks.TerminateOnNaN

TensorFlow 1 version View source on GitHub

Callback that terminates training when a NaN loss is encountered.

Inherits From: Callback

tf.keras.callbacks.TerminateOnNaN()

Methods

set_model

View source

set_model(
    model
)

set_params

View source

set_params(
    params
)