tf.errors.FailedPreconditionError

View source on GitHub

Operation was rejected because the system is not in a state to execute it.

Inherits From: OpError

tf.errors.FailedPreconditionError(
    node_def, op, message
)

This exception is most commonly raised when running an operation that reads a tf.Variable before it has been initialized.

Attributes: