Answers for "how to check if tensorflow is installed cmd"

11

check if tensorflow gpu is installed

import tensorflow as tf
print(tf.test.gpu_device_name())
Posted by: Guest on August-07-2020
0

how to know version of tensorflow in linux command line

python -c 'import tensorflow as tf; print(tf.__version__)'  # for Python 2 on linux
python3 -c 'import tensorflow as tf; print(tf.__version__)'  # for Python 3 on linux
Posted by: Guest on September-03-2020

Code answers related to "how to check if tensorflow is installed cmd"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language