Tensorflow autocomplete in pycharm
Question:
I started to user tensorflow on pycharm and i discovered that there is not auto completion
is it possible to add it
Answers:
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.
This issue is solved in PyCharm 2021.2.4
You can fix it by replacing:
import tensorflow.keras
with:
import tensorflow.python.keras
I started to user tensorflow on pycharm and i discovered that there is not auto completion
is it possible to add it
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.
This issue is solved in PyCharm 2021.2.4
You can fix it by replacing:
import tensorflow.keras
with:
import tensorflow.python.keras