Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::RefSelect

#include <control_flow_ops.h>

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

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

Аргументы:

  • scope: Объект Scope
  • index: Скаляр, определяющий вход, который будет выбран.
  • inputs: Список ref-тензоров, один из которых будет передан в 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 

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

Spec-Zone.ru

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