Tensorflow中的Feed and Fetch

首先引入Tensorflow import tensorflow as tf 定義運算規則和變量 #placeholder是TensorFlow的佔位符節點,可以理解爲一種形參,在調用run方法是傳遞。 input1 = tf.placeholder(tf.float32) input2 = tf.placeholder(tf.float32) output = tf.multiply(input
相關文章
相關標籤/搜索