tf.raw_ops.PlaceholderWithDefault
Оператор-заполнитель, который пропускает input, когда его вывод не задан.
tf.raw_ops.PlaceholderWithDefault(
input, shape, name=None
)
| Аргументы | |
|---|---|
input | A Tensor. Значение по умолчанию, которое должно быть произведено, когда output не задано. |
shape | A tf.TensorShape или список ints. (Возможно, частичная) форма тензора. |
name | Имя операции (необязательно). |
| Возвращаемые значения | |
|---|---|
A 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/api_docs/python/tf/raw_ops/PlaceholderWithDefault