tf.errors.InvalidArgumentError.__init__()

tf.errors.InvalidArgumentError.__init__(node_def, op, message) Creates an InvalidArgumentError.

tf.errors.InvalidArgumentError

class tf.errors.InvalidArgumentError Raised when an operation receives an invalid argument. This may occur, for example, if an operation is receives an input tensor that has an invalid value or shape. For example, the tf.matmul() op will raise this error if it receives an input that is not a matrix, and the tf.reshape() op will raise this error if the new shape does not match the number of elements in the input tensor.

tf.errors.FailedPreconditionError

class tf.errors.FailedPreconditionError Operation was rejected because the system is not in a state to execute it. This exception is most commonly raised when running an operation that reads a tf.Variable before it has been initialized.

tf.errors.InternalError.__init__()

tf.errors.InternalError.__init__(node_def, op, message) Creates an InternalError.

tf.errors.DeadlineExceededError.__init__()

tf.errors.DeadlineExceededError.__init__(node_def, op, message) Creates a DeadlineExceededError.

tf.errors.InternalError

class tf.errors.InternalError Raised when the system experiences an internal error. This exception is raised when some invariant expected by the runtime has been broken. Catching this exception is not recommended.

tf.errors.AlreadyExistsError.__init__()

tf.errors.AlreadyExistsError.__init__(node_def, op, message) Creates an AlreadyExistsError.

tf.errors.DeadlineExceededError

class tf.errors.DeadlineExceededError Raised when a deadline expires before an operation could complete. This exception is not currently used.

tf.errors.DataLossError

class tf.errors.DataLossError Raised when unrecoverable data loss or corruption is encountered. For example, this may be raised by running a tf.WholeFileReader.read() operation, if the file is truncated while it is being read.

tf.errors.AlreadyExistsError

class tf.errors.AlreadyExistsError Raised when an entity that we attempted to create already exists. For example, running an operation that saves a file (e.g. tf.train.Saver.save()) could potentially raise this exception if an explicit filename for an existing file was passed.