Macan
TensorFlow Hello World ! 본문
TensorFlow is an open source software library
for numerical computation using data flow graphs.
Data flow 에 tensor들이 오가며 계산이 이루어짐..
Tensorflow 설치는
https://meisteruser.net/devflow/1863 에서 확인. ( Mac User )
설치 확인
Shell
$ python3
Python 3.6.3 (default, Oct 4 2017, 06:09:38)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'1.4.0'
TensorFlow Hello World !!
>>> hello = tf.constant("Hello, TensorFlow!")
>>> sess = tf.Session()
>>> print(sess.run(hello))
b'Hello, TensorFlow!'
'AI' 카테고리의 다른 글
TensorFlow Computational Graph / Placeholder (0) | 2017.11.07 |
---|---|
What is ML ? (0) | 2017.11.06 |
Comments