title: Tensorflow 2 API: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead
body: <p>I'm newbie in Tensorflow and I'm developing a notebook in Google Colaboratory.</p>
  
  <p>On my first notebooks I got a message saying to update to Tensorflow v.2.</p>
  
  <p>Now, in another notebook, I get the following message:</p>
  
  <blockquote>
    <p>The name tf.get_default_graph is deprecated. Please use
    tf.compat.v1.get_default_graph instead.</p>
  </blockquote>
  
  <p>If I do that, am I using Tensorflow v2?<br/> I'm confuse because of the <code>v1</code> in <code>tf.compat.v1.get_default_graph</code>.</p>
  
  <p>All the error messages are:</p>
  
  <blockquote>
    <p>WARNING:tensorflow:From
    /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:66:
    The name tf.get_default_graph is deprecated. Please use
    tf.compat.v1.get_default_graph instead.</p>
    
    <p>WARNING:tensorflow:From
    /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:541:
    The name tf.placeholder is deprecated. Please use
    tf.compat.v1.placeholder instead.</p>
    
    <p>WARNING:tensorflow:From
    /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:4432:
    The name tf.random_uniform is deprecated. Please use tf.random.uniform
    instead.</p>
    
    <p>WARNING:tensorflow:From
    /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:4267:
    The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d
    instead.</p>
  </blockquote>
  
  <p>I think I can't change that code on keras.</p>