tensorflow / 2.9.1 / debugging / is_traceback_filtering_enabled.html /

tf.debugging.is_traceback_filtering_enabled

Check whether traceback filtering is currently enabled.

See also tf.debugging.enable_traceback_filtering() and tf.debugging.disable_traceback_filtering(). Note that filtering out internal frames from the tracebacks of exceptions raised by TensorFlow code is the default behavior.

Returns
True if traceback filtering is enabled (e.g. if tf.debugging.enable_traceback_filtering() was called), and False otherwise (e.g. if tf.debugging.disable_traceback_filtering() was called).

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/debugging/is_traceback_filtering_enabled