get version tensorflow code example
Example 1: how to find the version of tensorflow command linw
!python -c 'import tensorflow as tf; print(tf.__version__)'
Example 2: how to check current version of tensorflow
import tensorflow as tf
tf.__version__