RuntimeError: tf.placeholder() is not compatible with eager execution. 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()