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 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/placeholder-with-default