tf.debugging.disable_check_numerics
Disable the eager/graph unified numerics checking mechanism.
tf.debugging.disable_check_numerics()
This method can be used after a call to tf.debugging.enable_check_numerics()
to disable the numerics-checking mechanism that catches infinity 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.
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/debugging/disable_check_numerics