tf.placeholder

tf.placeholder

tf.placeholder

placeholder(
    dtype,
    shape=None,
    name=None
)

Defined in tensorflow/python/ops/array_ops.py.

See the guide: Inputs and Readers > Placeholders

Inserts a placeholder for a tensor that will be always fed.

Important: This tensor will produce an error if evaluated. Its value must be fed using the feed_d