TensorFlow: Hello World: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump 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)
No edit summary
 
(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 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