runtimeerror tf.placeholder() is not compatible with eager execution. tensorflow 2.0 code example
Example: python RuntimeError: tf.placeholder() is not compatible with eager execution.
tf.compat.v1.disable_eager_execution()
tf.compat.v1.disable_eager_execution()