Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98994

Import tensorflow.python.keras instead of tensorflow.keras

$
0
0

The autocomplete function of VS Code 1.41.1 does not work for example for

from tensorflow.keras import layers

(for tensorflow version 1.14.0) but it works for

from tensorflow.python.keras import layers

So what is the exact difference? Why does it work in the latter case? And is it always safe to replace the first method with the second, meaning it produces identical behavior by using the exact same methods?


Viewing all articles
Browse latest Browse all 98994

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>