tf.compat.v1.placeholder_with_default

View source on GitHub

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

tf.compat.v1.placeholder_with_default(
    input, shape, name=None
)

Args:

Returns:

A Tensor. Has the same type as input.