przepływ tensorowy:: ops:: TensorArrayZbierz

#include <data_flow_ops.h>

Zbierz określone elementy z TensorArray do value wyjściowej.

Streszczenie

Wszystkie elementy wybrane za pomocą indices muszą mieć ten sam kształt.

Argumenty:

  • zakres: Obiekt Scope
  • handle: Uchwyt do TensorArray .
  • indeksy: lokalizacje w TensorArray , z których można odczytać elementy tensorowe.
  • flow_in: Skalar typu float, który wymusza prawidłowe łączenie operacji.
  • dtype: Typ zwracanego elementu.

Opcjonalne atrybuty (patrz Attrs ):

  • element_shape: Oczekiwany kształt elementu, jeśli jest znany. Służy do sprawdzania poprawności kształtów elementów TensorArray . Jeśli ten kształt nie jest w pełni określony, gromadzenie TensorArrays o zerowym rozmiarze będzie błędem.

Zwroty:

Konstruktory i destruktory

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)

Atrybuty publiczne

operation
value

Funkcje publiczne

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

Publiczne funkcje statyczne

ElementShape (PartialTensorShape x)

Struktury

tensorflow:: ops:: TensorArrayGather:: Atrybuty

Opcjonalne moduły ustawiające atrybuty dla TensorArrayGather .

Atrybuty publiczne

operacja

Operation operation

wartość

::tensorflow::Output value

Funkcje publiczne

TensorArrayZbierz

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

TensorArrayZbierz

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

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

Kształt elementu

Attrs ElementShape(
  PartialTensorShape x
)