tf.debugging.disable_check_numerics
Stay organized with collections
Save and categorize content based on your preferences.
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 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.debugging.disable_check_numerics\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.1.0/tensorflow/python/debug/lib/check_numerics_callback.py#L380-L404) |\n\nDisable the eager/graph unified numerics checking mechanism.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.debugging.disable_check_numerics`](/api_docs/python/tf/debugging/disable_check_numerics)\n\n\u003cbr /\u003e\n\n tf.debugging.disable_check_numerics()\n\nThis method can be used after a call to [`tf.debugging.enable_check_numerics()`](../../tf/debugging/enable_check_numerics)\nto disable the numerics-checking mechanism that catches inifnity and NaN\nvalues output by ops executed eagerly or in tf.function-compiled graphs.\n\nThis method is idempotent. Calling it multiple times has the same effect\nas calling it once.\n\nThis method takes effect only on the thread in which it is called."]]