I am using tf 2.1. Trying to build a model but run into "tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError"
Below is not my true code,