TensorFlow: Hello World

From OnnoWiki
Jump to navigation Jump to search

Ketik

python

Ketik perintah

import tensorflow as tf
hello = tf.constant("Hello, TensorFlow!")
sess=tf.Session()
print(sess.run(hello))

Akan keluar

Hello, TensorFlow!


Pranala Menarik