Tensorflow API 정리

Tensorflow API 정리

smartrobot
커버 Tensorflow API 정리

 

import tensorflow as tf

# graph build

tf.__version__

hello = tf.constant("Hello, TensorFlow!")

# graph init

sess = tf.Session()

 

# graph run

sess.run(hello)

sess.close()

 

import tensorflow as tf

tf.__version__

hello = tf.constant("Hello, TensorFlow!")

with tf.Session() as sess:

sess.run(hello)

 

http://pythonkim.tistory.com/8?category=573319

 

  • smartrobot
    토픽 1  /  봤어요 0

댓글

댓글 본문