Tensorflow keras vs keras version

In short, do the statements:

from tensorflow import keras
import keras

give me the same version of keras and if not, which is preferred?
Apology for the newbie question.
I’ve installed tensorflow 2.15.0

Thanks

1 Like

Hi @Karl60, Generally they both give the same version as tensorflow. If you install keras-core then the keras version will be like 0.1.7 which can be used for multi backend(tensorflow,jax,pytorch). Thank You.