title: module 'tensorflow' has no attribute 'log'
body: <pre class="lang-py prettyprint-override"><code>fashion_model.compile(
      loss = keras.losses.categorical_crossentropy,
      optimizer = tf.keras.optimizers.Adam(),
      metrics = ['accuracy']
  )
  </code></pre>
  
  <p>When I execute this line of code I am facing the error </p>
  
  <blockquote>
    <p>module 'tensorflow' has no attribute 'log'</p>
  </blockquote>
  
  <p>and my tensorflow version is 2.0</p>