{ }
View source on GitHub |
Raised when some prerequisites are not met when running an operation.
Inherits From: OpError
tf.errors.FailedPreconditionError(
node_def, op, message, *args
)
This typically indicates that system is not in state to execute the operation and requires preconditions to be met before successfully executing current operation.
For example, this exception is commonly raised when running an operation
that reads a tf.Variable
before it has been initialized.