tf.contrib.eager.inf_callback

tf.contrib.eager.inf_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 infs only.