Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.errors.raise_exception_on_not_ok_status

View source on GitHub

Class raise_exception_on_not_ok_status

Context manager to check for C API status.

Aliases:

  • Class tf.compat.v1.errors.raise_exception_on_not_ok_status

Methods

__enter__

View source

__enter__()

__exit__

View source

__exit__(
    type_arg,
    value_arg,
    traceback_arg
)