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