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