przepływ tensorowy:: ops:: SerializujSparse

#include <sparse_ops.h>

Serializuj SparseTensor do [3] obiektu Tensor .

Streszczenie

Argumenty:

  • zakres: Obiekt Scope
  • sparse_indices: 2-D. indices SparseTensor .
  • wartości_rzadkie: 1-D. values SparseTensor .
  • sparse_shape: 1-D. shape SparseTensor .

Opcjonalne atrybuty (patrz Attrs ):

  • out_type: dtype , który ma być używany do serializacji; obsługiwane typy to string (domyślnie) i variant .

Zwroty:

  • Output : tensor serialized_sparse.

Konstruktory i destruktory

SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape)
SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeSparse::Attrs & attrs)

Atrybuty publiczne

operation
serialized_sparse

Funkcje publiczne

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

Publiczne funkcje statyczne

OutType (DataType x)

Struktury

tensorflow:: ops:: SerializeSparse:: Attrs

Opcjonalne moduły ustawiające atrybuty dla SerializeSparse .

Atrybuty publiczne

operacja

Operation operation

serializowany_sparse

::tensorflow::Output serialized_sparse

Funkcje publiczne

SerializujSparse

 SerializeSparse(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sparse_indices,
  ::tensorflow::Input sparse_values,
  ::tensorflow::Input sparse_shape
)

SerializujSparse

 SerializeSparse(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sparse_indices,
  ::tensorflow::Input sparse_values,
  ::tensorflow::Input sparse_shape,
  const SerializeSparse::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

Typ zewnętrzny

Attrs OutType(
  DataType x
)