tensorflow::ops::PlaceholderWithDefault
#include <array_ops.h>
Операция-заполнитель, которая передает input, если в нее не подается входное значение.
Краткое описание
Аргументы:
- scope: объект Scope
- input: Значение по умолчанию, которое будет возвращено, если в
outputне подается входное значение. - shape: Форма тензора (возможно, частичная).
Возвращает:
-
Output: Тензор-заполнитель, значение которого по умолчанию равноinput, если в него не подается входное значение.
| Конструкторы и деструкторы | |
|---|---|
PlaceholderWithDefault(const ::tensorflow::Scope & scope, ::tensorflow::Input input, PartialTensorShape shape) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
PlaceholderWithDefault
PlaceholderWithDefault( const ::tensorflow::Scope & scope, ::tensorflow::Input input, PartialTensorShape shape )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 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/cc/class/tensorflow/ops/placeholder-with-default