tf.contrib.eager.nan_callback

tf.contrib.eager.nan_callback(
    op_type,
    inputs,
    attrs,
    outputs,
    op_name,
    action=tf.contrib.eager.ExecutionCallback.RAISE
)

Defined in tensorflow/python/eager/execution_callbacks.py.

A specialization of inf_nan_callback that checks for nans only.