tf.OpError.error_code The integer error code that describes the error.
class tf.errors.DataLossError Raised when unrecoverable data loss or corruption is encountered. For
class tf.Session A class for running TensorFlow operations. A Session object encapsulates
tf.errors.InvalidArgumentError.__init__(node_def, op, message) Creates an InvalidArgumentError.
tf.Session.as_default() Returns a context manager that makes this object the default session. Use
tf.OpError.node_def The NodeDef proto representing the op that failed.
class tf.errors.AlreadyExistsError Raised when an entity that we attempted to create already exists. For
tf.errors.CancelledError.__init__(node_def, op, message) Creates a CancelledError.
class tf.InteractiveSession A TensorFlow Session for use in interactive contexts, such as a shell.
tf.errors.UnknownError.__init__(node_def, op, message, error_code=2) Creates an UnknownError.
Page 4 of 6