title: how to fix that tensorflow.tools.api.generator.api.contrib' has no 'layers' member?
body: <p>I have tried to run code shared on GitHub with my VScode via pylint.</p>
  
  <p><strong>But I'm getting this error message:</strong></p>
  
  <pre><code>E1101:Module 'tensorflow.tools.api.generator.api.contrib' has no 'layers' member
  </code></pre>
  
  <p>What's the problem here? How can I solve it?</p>
  
  <p><em>Here is the code:</em> <br><a href="https://github.com/cj0012/AI-Practice-Tensorflow-Notes/blob/master/opt/opt4_8_forward.py" rel="nofollow noreferrer">https://github.com/cj0012/AI-Practice-Tensorflow-Notes/blob/master/opt/opt4_8_forward.py</a></p>