tf.raw_ops.PlaceholderWithDefault

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

Args
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).
Returns
A Tensor. Has the same type as input.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/PlaceholderWithDefault