Skip to contents

Callback that terminates training when a NaN loss is encountered.

Usage

callback_terminate_on_nan()

Value

A Callback instance that can be passed to fit.keras.src.models.model.Model().