Is the beginning of the operation when there is no specific definition of value, and then pass the value of real-time operations running when traditional values in the form of a dictionary. (Corresponding to the transfer function parameters)
import tensorflow as tf
#创建32浮点型占位符,即下面的input此时没有具体的值
input1=tf.placeholder(tf.float32)
input2=tf.placeholder(tf.float32)
output=tf.multiply(input1,input2)with tf.Session()as sess:#运行时候再把值传入,采用字典形式print(sess.run(output,feed_dict={input1:[3.4],input2:[6.0]}))