PyCharm subclass navigation "cannot find declaration to go to"
<p>When using the TensorFlow library in PyCharm Mac, I can't go to some class implementations. For example,</p>

<pre><code>import tensorflow as tf
classifier=tf.contrib.learn.DNNClassifier(feature_columns=feature_columns,
                                        hidden_units=[10, 20, 10],
                                        n_classes=3,
                                        model_dir="models/iris_model")
</code></pre>

<p>When I try to go to the implementation of DNNClassifier it can't find it. But when I do</p>

<pre><code>from tensorflow.contrib.learn import DNNClassifier
classifier = DNNClassifier(feature_columns=feature_columns,
                                        hidden_units=[10, 20, 10],
                                        n_classes=3,
                                        model_dir="models/iris_model")
</code></pre>

<p>It works fine. I am not sure why PyCharm doesn't see the DNNClassifer they way it was written in the first example above.</p>

<p>Thanks</p>