tf.errors.FailedPreconditionError

TensorFlow 2 version View source on GitHub

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

Inherits From: OpError

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

error_code The integer error code that describes the error.
message The error message that describes the error.
node_def The NodeDef proto representing the op that failed.
op The operation that failed, if known.