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
© 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/cc/class/tensorflow/ops/placeholder-with-default