I am working in the base environment with Anaconda and VSCode. I have been facing a problem while importing TensorFlow libraries, especially with Keras.
I can still run the code and it works, but it sometimes hinders in autocorrection while writing the code.
Thank you in advance for the help
As you've mentioned, even though the warning shows up on VSCode but works perfectly fine when executing the code on the Anaconda terminal, the issue might not necessarily be with the Tensorflow library but with the autocomplete feature of VSCode itself.
Here is a link that can help you understand what's actually going on in VSCode.
The issue is mostly just IDE/Editor related, and if you want the autocomplete features to work properly, you could try using V1 api of Tensorflow.