tensorflow::ops::RefSelect
#include <control_flow_ops.h>
Передаёт index-й элемент inputs в output.
Summary
Arguments:
- scope: An object Scope
- index: Скаляр, определяющий вход, который будет выбран.
- inputs: Список ref-тензоров, один из которых будет передан в
output.
Returns:
-
Output: Переданный тензор.
| Конструкторы и деструкторы | |
|---|---|
RefSelect(const ::tensorflow::Scope & scope, ::tensorflow::Input index, ::tensorflow::InputList inputs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
RefSelect
RefSelect( const ::tensorflow::Scope & scope, ::tensorflow::Input index, ::tensorflow::InputList inputs )
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/ref-select