tf.debugging.disable_check_numerics

View source on GitHub

Disable the eager/graph unified numerics checking mechanism.

This method can be used after a call to tf.debugging.enable_check_numerics() to disable the numerics-checking mechanism that catches inifnity and NaN values output by ops executed eagerly or in tf.function-compiled graphs.

This method is idempotent. Calling it multiple times has the same effect as calling it once.

This method takes effect only on the thread in which it is called.