RuntimeError: tf.placeholder() is not compatible with eager execution : <p>I have upgraded with tf_upgrade_v2 TF1 code to TF2. I'm a noob with both. I got the next error:</p>

<pre><code>RuntimeError: tf.placeholder() is not compatible with eager execution.
</code></pre>

<p>I have some <code>tf.compat.v1.placeholder()</code>.</p>

<pre><code>self.temperature = tf.compat.v1.placeholder_with_default(1., shape=())
self.edges_labels = tf.compat.v1.placeholder(dtype=tf.int64, shape=(None, vertexes, vertexes))
self.nodes_labels = tf.compat.v1.placeholder(dtype=tf.int64, shape=(None, vertexes))
self.embeddings = tf.compat.v1.placeholder(dtype=tf.float32, shape=(None, embedding_dim))
</code></pre>

<p>Could you give me any advice about how to proceed? Any "fast" solutions? or should I to recode this?</p>
