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
相关文章
相关标签/搜索