tensorflow::ops::TensorArrayGather

#include <data_flow_ops.h>

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

Краткое содержание

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

Аргументы:

  • scope: Объект Scope
  • handle: Дескриптор объекта TensorArray .
  • индексы: Места в массиве TensorArray , из которых следует считывать элементы тензора.
  • flow_in: Скалярное значение типа float, обеспечивающее корректную цепочку операций.
  • 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
value

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Открытые статические функции

ElementShape (PartialTensorShape x)

Структуры

tensorflow::ops::TensorArrayGather::Attrs

Дополнительные параметры установки атрибутов для TensorArrayGather .

Общедоступные атрибуты

операция

Operation operation

ценить

::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
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Input

 operator::tensorflow::Input() const 

оператор::tensorflow::Output

 operator::tensorflow::Output() const 

Открытые статические функции

ElementShape

Attrs ElementShape(
  PartialTensorShape x
)