Import issue: no auto completion under certain conditions

1. If I use

import tensorflow as tf

tf.keras.layers.Conv2D

the auto completion works for completing Conv2D.

 

2. However, if I use import like:

import tensorflow.keras.layers

layers.Conv2D

No completion helper shows for Conv2D and any other functions/classes.

 

3. The completion will also fail if I type:

from tensorflow.keras.layers import Conv2D

No completion helper shows for commands after the import keyword.

 

Is it because of internal limit in the auto completion module?

1 comment

Hi,

This appears to be a known issue, please see following ticket: https://youtrack.jetbrains.com/issue/PY-34174

Please vote, follow, and feel free to comment.

0

Please sign in to leave a comment.