Save the date! Google I/O returns May 18-20 Register now

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.