What's the difference between tensorflow.python.keras and tensorflow.keras?

前端 未结 1 1434
清酒与你
清酒与你 2021-01-13 18:51

As the title says, Are they the same api? When I print the layers module in keras, the result are shown as follow:

fro         


        
相关标签:
1条回答
  • 2021-01-13 19:17

    Anything under tf.python.* is private, intended for development only, rather than for public use.

    Importing from tensorflow.python or any other modules (including import tensorflow_core...) is not supported, and can break unannounced.

    So, it is suggested not to use anything with tf.python.*.

    0 讨论(0)
提交回复
热议问题