Demo entry 6352127

f

   

Submitted by anonymous on Mar 23, 2017 at 12:30
Language: Python. Code size: 183 Bytes.

import tensorflow as tf
sess = tf.InteractiveSession()
a = tf.constant(5.0)
b = tf.constant(6.0)
c = a * b
with tf.Session() as sess:
    print(sess.run(c))
    print(c.eval())

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).