tf.raw_ops.PlaceholderWithDefault
Операция-заполнитель, которая пропускает input при отсутствии входных данных.
tf.raw_ops.PlaceholderWithDefault(
input, shape, name=None
)
| Аргументы | |
|---|---|
input | Значение по умолчанию, которое будет возвращено, если output не задано. |
shape | tf.TensorShape или список ints. (Возможно частичная) форма тензора. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
Tensor. Имеет тот же тип, что и input. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/PlaceholderWithDefault