The name tf.Session is deprecated. Please use tf.compat.v1.Session instead : <p>I got the following deprecation warning in my tensorflow code: </p>

<blockquote>
  <p>The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.</p>
</blockquote>

<ul>
<li>Why I got this warning</li>
<li>What will happen in tensorflow 2.0. instead of <code>tf.session</code></li>
<li>Is it okay to use <code>tf.compat.v1.Session</code></li>
</ul>
