Zadbaj o dobrą organizację dzięki kolekcji Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.

tensorflow :: ops :: TensorArrayGather

#include <data_flow_ops.h>

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

streszczenie

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

Argumenty:

  • zakres: obiekt Scope
  • uchwyt: uchwyt do TensorArray .
  • indeksy: lokalizacje w TensorArray, z których mają być odczytywane elementy tensorowe.
  • flow_in: zmiennoprzecinkowy skalar, który wymusza prawidłowe łańcuchowanie operacji.
  • dtype: typ zwracanego elementu.

Atrybuty opcjonalne (patrz Attrs ):

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

Zwroty:

Konstruktorzy i niszczyciele

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

Opcjonalne metody ustawiające atrybuty dla TensorArrayGather .

Atrybuty publiczne

operacja

Operation operation

wartość

::tensorflow::Output value

Funkcje publiczne

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
)

węzeł

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Output

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

ElementShape

Attrs ElementShape(
  PartialTensorShape x
)