ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.errors.OperatorNotAllowedInGraphError

An error is raised for unsupported operator in Graph execution.

For example, using a tf.Tensor as a Python bool in Graph execution is not allowed.