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.*
.