tensorflow:: ops:: TensorArrayGather

#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 zakresu
  • uchwyt: Uchwyt do TensorArray .
  • indeksy: Lokalizacje w TensorArray , z których można odczytać elementy tensora.
  • flow_in: Skalar zmiennoprzecinkowy wymuszający poprawne łączenie operacji.
  • dtype: Typ zwracanego elementu.

Atrybuty opcjonalne (patrz Attrs ):

  • element_shape: Oczekiwany kształt elementu, jeśli jest znany. Służy do walidacji kształtów elementów TensorArray . Jeśli ten kształt nie jest w pełni określony, zbieranie obiektów TensorArray o rozmiarze zerowym jest 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:: Attrs

Opcjonalne settery atrybutów dla TensorArrayGather .

Atrybuty publiczne

działanie

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
)