тензорный поток:: опс:: ТензорМассивСобрать

#include <data_flow_ops.h>

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

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

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

Аргументы:

  • область: объект области .
  • handle: Дескриптор TensorArray .
  • индексы: местоположения в TensorArray , из которых можно считывать элементы тензора.
  • flow_in: скаляр с плавающей точкой, обеспечивающий правильную цепочку операций.
  • dtype: тип возвращаемого элемента.

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

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

Возврат:

  • 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(
  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
)

узел

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

оператор::tensorflow::Выход

 operator::tensorflow::Output() const 

Публичные статические функции

ЭлементШейп

Attrs ElementShape(
  PartialTensorShape x
)