TensorFlow: Hello World: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
No edit summary
Onnowpurbo (talk | contribs)
No edit summary
 
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))
quit()


Akan keluar
Akan keluar

Latest revision as of 00: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!


Pranala Menarik