tensorflow中feed_dict不一定与placeholder绑定
在tensorflow的初学者看来,feed_dict是与placeholder绑定的,如下
import tensorflow as tf
a = tf.placeholder(dtype=tf.float32)
b = tf.placeholder(dtype=tf.float32)
c = tf.add(a, b)
with tf.Session() as sess:
pri...
转载
2019-02-25 10:55:01 ·
460 阅读 ·
0 评论