In [1]:
import tensorflow as tf
print(tf.__version__)
In [4]:
a = tf.add(1,2)
b = tf.multiply(a,3)
c = tf.add(4,5)
d = tf.multiply(c,6)
e = tf.multiply(4,5)
f = tf.div(c,6)
g = tf.add(b,d)
h = tf.multiply(g,f)
In [5]:
with tf.Session() as sess:
writer = tf.summary.FileWriter(r"/Users/jaegyuhan/PythonEx_1/머신러닝 딥러닝 실전개발 입문 책 연습", sess.graph)
print(sess.run(h))
writer.close()
In [ ]:
!tensorboard --logdir="/Users/jaegyuhan/PythonEx_1/머신러닝 딥러닝 실전개발 입문 책 연습"
In [ ]: