In the standard implementation of Keras, one can get the API version using keras.__version__
.
However, there is no tf.keras.__version__
.
So how do I check the version of the Keras API implemented in tf.keras
?
You can simply run this code
from tensorflow.python import keras
print(keras.__version__)
which is compatible with TF v1.8.0.
This has recently been updated:
>>> import tensorflow as tf
>>> print(tf.keras.__version__)
2.1.6-tf
>>> print(tf.__version__)
1.12.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With