TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.compat.v1.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.

Methods

__enter__

View source

__enter__()

__exit__

View source

__exit__(
    type_arg,
    value_arg,
    traceback_arg
)