tensorflow從入門到放棄(三)

import tensorflow as tf # 常量操作 a = tf.constant(2) b = tf.constant(3) # 創建會話,並執行計算操作 with tf.Session() as sess: print("a: %i" % sess.run(a)) print("b: %i" % sess.run(b)) print("Addition wit
相關文章
相關標籤/搜索