TensorFlow

API

 tf.compat / v1 / v1.placeholder


A placeholder op that passes through input when its output is not fed.

input A Tensor. The default value to produce when output is not fed.
shape A tf.TensorShape or list of ints. The (possibly partial) shape of the tensor.
name A name for the operation (optional).

A Tensor. Has the same type as input.

此页内容是否对您有帮助