Difference between revisions of "TensorFlow: Hello World"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Ketik python Ketik perintah import tensorflow as tf hello = tf.constant("Hello, TensorFlow!") sess=tf.Session() print sess.run(hello) Akan keluar Hello, TensorFlow!...") |
Onnowpurbo (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
hello = tf.constant("Hello, TensorFlow!") | hello = tf.constant("Hello, TensorFlow!") | ||
sess=tf.Session() | sess=tf.Session() | ||
− | print sess.run(hello) | + | print(sess.run(hello)) |
Akan keluar | Akan keluar |
Latest revision as of 07:47, 13 August 2019
Ketik
python
Ketik perintah
import tensorflow as tf hello = tf.constant("Hello, TensorFlow!") sess=tf.Session() print(sess.run(hello))
Akan keluar
Hello, TensorFlow!