You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
400
+
Python 3.6.0 |Anaconda 4.3.1 (x86_64)| (default, Dec 23 2016, 13:19:00)
401
+
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
409
402
Type "help", "copyright", "credits" or "license"for more information.
410
-
Anaconda is brought to you by Continuum Analytics.
411
-
Please check out: http://continuum.io/thanks and https://anaconda.org
403
+
>>> import tensorflow tf
404
+
File "<stdin>", line 1
405
+
import tensorflow tf
406
+
^
407
+
SyntaxError: invalid syntax
412
408
>>> import tensorflow as tf
413
409
>>> hello = tf.constant('Hello, TensorFlow!')
410
+
>>> sess = tf.Session()
414
411
>>> sess = tf.Session()
415
-
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions,
416
-
but these are available on your machine and could speed up CPU computations.
417
-
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions,
418
-
but these are available on your machine and could speed up CPU computations.
419
-
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions,
420
-
but these are available on your machine and could speed up CPU computations.
421
-
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions,
422
-
but these are available on your machine and could speed up CPU computations.
423
-
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions,
424
-
but these are available on your machine and could speed up CPU computations.
412
+
2017-05-08 20:29:44.953858: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
413
+
2017-05-08 20:29:44.953899: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
414
+
2017-05-08 20:29:44.953912: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
415
+
2017-05-08 20:29:44.953925: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
416
+
2017-05-08 20:29:44.953936: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
425
417
>>> print(sess.run(hello))
426
-
Hello, TensorFlow!
418
+
b'Hello, TensorFlow!'
427
419
428
420
```
429
-
430
-
cn ~ $ python -c 'import tensorflow as tf; print(tf.__version__)' # for Python 2
431
-
1.0.1
421
+
#### Check the Version of TensorFlow
422
+
cn ~ $ python -c 'import tensorflow as tf; print(tf.__version__)'
0 commit comments