Registration is open for TensorFlow Dev Summit 2020 Learn more

tf.keras.callbacks.TerminateOnNaN

TensorFlow 1 version View source on GitHub

Class TerminateOnNaN

Callback that terminates training when a NaN loss is encountered.

Inherits From: Callback

__init__

View source

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

set_model

View source

set_model(model)

set_params

View source

set_params(params)

Compat aliases