tf.placeholder_with_default(
input,
shape,
name=None
)
Defined in tensorflow/python/ops/array_ops.py.
A placeholder op that passes through input when its output is not fed.
Args:
input: ATensor. The default value to produce when output is not fed.shape: Atf.TensorShapeor list ofints. The (possibly partial) shape of the tensor.name: A name for the operation (optional).
Returns:
A Tensor. Has the same type as input.