深刻理解tensorflow架構設計與實現原理(彭靖田著)

import tensorflow as tf a=tf.constant(1.0) b=tf.constant(2.0) c=tf.add(a,b) print([a,b,c]) #輸出 [<tf.Tensor 'Const:0' shape=() dtype=float32>, <tf.Tensor 'Const_1:0' shape=() dtype=float32>, <tf.Ten
相關文章
相關標籤/搜索