Spec-Zone.ru › TensorFlow C++

tensorflow::ops::RefSelect

#include <control_flow_ops.h>

Передаёт indexй элемент inputs в output.

Краткое описание

Аргументы:

  • scope: объект Scope
  • index: скаляр, определяющий, какой вход будет выбран.
  • inputs: список тензоров-ссылок, один из которых будет передан в output.

Возвращает:

  • Output: переданный тензор.
Конструкторы и деструкторы
RefSelect(const ::tensorflow::Scope & scope, ::tensorflow::Input index, ::tensorflow::InputList inputs)
Публичные атрибуты
operation
Operation
output
::tensorflow::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 

© 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/ref-select

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API