Last active
December 4, 2019 23:01
-
-
Save xinyazhang/016efb5bb30ea617c325e96ccf434f58 to your computer and use it in GitHub Desktop.
Test successful installation of Tensorflow in One Line (Python3)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| python3 -c 'import tensorflow as tf; c = tf.constant("Testing"); sess = tf.Session(); print(sess.run(c)); print(tf.test.gpu_device_name())' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment