Difference between tf.keras and keras

Hi, I would like to know if there are many difference between both of them.

And also another question :
-It is necessary to use
from keras import …

if instead of this I could use:

" import tensorflow" and use tf.keras to use contents in keras.

My point of view is that there isn’t any difference :laughing:.
Just personal taste to use full namespace to locate the classes or objects which you want to reference and use.

My taste is to use tf.keras.xxxx after I import tensorflow keras stuff. Just personal fav behavior.

Hopefully, it helps :wink:.

1 Like

but I guess keras and tf.keras are 2 different packages.

will they continue to be separate?
will one be made obsolete?
should we prefer one over the other in future?