1
다음 코드를 시도했습니다. 하지만 나는 tensorflow에서 공급할 수없는 것을 발견하지 못합니다. 아무도 피드 기능이없는 것을 보여줄 수 있습니까? 그들은 명시 적으로 tf.Graph.prevent_feeding
방법을 통해 공급하는 것을 방지하지 않는tensorflow에서 공급할 수없는 것은 무엇입니까?
#!/usr/bin/env python
# vim: set noexpandtab tabstop=2 shiftwidth=2 softtabstop=-1 fileencoding=utf-8:
import tensorflow as tf
x = tf.Variable(3)
y = tf.constant(3)
z = tf.add(1, 2)
with tf.Session() as sess:
print sess.graph.is_feedable(x)
print sess.graph.is_feedable(y)
print sess.graph.is_feedable(z)