The tensorflow simplest calculate

import tensorflow as tf

#print("hello word")

a=tf.constant(88)

b=tf.constant(9)

result=tf.add(a,b,name=None)

op=tf.global_variables_initializer()

with tf.Session() as sess:
sess.run(op)
print(sess.run(result))

https://files.cnblogs.com/files/tuozizhang/tutorials.rar

原文地址:https://www.cnblogs.com/tuozizhang/p/12669847.html