TensorFlow

TensorFlowのインストールをテスト

More than 1 year has passed since last update.

https://www.tensorflow.org/versions/r0.10/get_started/os_setup.html#test-the-tensorflow-installation

$ python
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
Hello, TensorFlow!
>>> a = tf.constant(10)
>>> b = tf.constant(32)
>>> print(sess.run(a + b))
42
>>>

TensorFlowを Mac にダウンロードとセットアップ