placeholder 是 TensorFlow 中的占位符,暂时储存变量.
Tensorflow 如果想要从外部传入data, 就需要用到 tf.placeholder(), 然后以这种形式传输数据:
sess.run(***, feed_dict={
input: **}).
示例:
import tensorflow as tf
input1 = tf.placeholder(
placeholder 是 TensorFlow 中的占位符,暂时储存变量.
Tensorflow 如果想要从外部传入data, 就需要用到 tf.placeholder(), 然后以这种形式传输数据:
sess.run(***, feed_dict={
input: **}).
示例:
import tensorflow as tf
input1 = tf.placeholder(
6321
194

被折叠的 条评论
为什么被折叠?