Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::TensorArrayGather

#include <data_flow_ops.h>

Gather определённые элементы из TensorArray в выход value.

Summary

All выбранные элементы indices должны иметь одинаковую форму.

Аргументы:

  • scope: Объект Scope
  • handle: Указатель на TensorArray.
  • indices: Позиции в TensorArray для чтения элементов тензора.
  • flow_in: Вещественный скаляр, обеспечивающий корректную цепочку операций.
  • dtype: Тип возвращаемого элемента.

Необязательные атрибуты (см. Attrs):

  • element_shape: Ожидаемая форма элемента, если известна. Используется для проверки форм элементов TensorArray. Если эта форма не полностью задана, сборка TensorArray нулевой размерности является ошибкой.

Возвращаемое значение:

  • Output: Все элементы в TensorArray, конкатенированные вдоль новой оси (новая размерность 0).
Конструкторы и деструкторы
TensorArrayGather(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype)
TensorArrayGather(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs)
Общественные атрибуты
operation
Operation
value
::tensorflow::Output
Общественные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общественные статические функции
ElementShape(PartialTensorShape x)
Attrs
Структуры
tensorflow::ops::TensorArrayGather::Attrs

Необязательные установки атрибутов для TensorArrayGather.

Общественные атрибуты

operation

Operation operation

value

::tensorflow::Output value

Общественные функции

TensorArrayGather

 TensorArrayGather(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input indices,
  ::tensorflow::Input flow_in,
  DataType dtype
)

TensorArrayGather

 TensorArrayGather(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input indices,
  ::tensorflow::Input flow_in,
  DataType dtype,
  const TensorArrayGather::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Общественные статические функции

ElementShape

Attrs ElementShape(
  PartialTensorShape x
)

© 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/tensor-array-gather

Spec-Zone.ru

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