title: AttributeError: module 'tensorflow_core._api.v2.config' has no attribute 'list_physical_devices'
body: <p>Am using Tensorflow 2.0 on Ubuntu 18.04. On running</p>
  
  <pre><code>tf.config.list_physical_devices('GPU')
  </code></pre>
  
  <p>I get the above error. What is the workaround for this?</p>