1

I started to user tensorflow on pycharm and i discovered that there is not auto completion is it possible to add it

yardenK
  • 183
  • 1
  • 3
  • 14

3 Answers3

1

i think you might want to use this format to import it:

import tensorflow as tf
....
#usage
tf.keras.callbacks.—
tf.keras.optimizers.—

The above should fix it for you.

Raj Verma
  • 1,050
  • 1
  • 7
  • 19
1

You can fix it by replacing:

import tensorflow.keras

with:

import tensorflow.python.keras
0

This issue is solved in PyCharm 2021.2.4

  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Maik Hasler Aug 22 '22 at 18:52