tf.errors.raise_exception_on_not_ok_status

Class raise_exception_on_not_ok_status

Defined in tensorflow/python/framework/errors_impl.py.

Context manager to check for C API status.

Methods

__enter__

__enter__()

__exit__

__exit__(
    type_arg,
    value_arg,
    traceback_arg
)