tensorflow::ops::SerializeSparse

#include <sparse_ops.h>

Serializzare un SparseTensor in un oggetto Tensor [3] .

Riepilogo

Argomentazioni:

  • ambito: un oggetto Scope
  • sparse_indices: 2-D. Gli indices dello SparseTensor .
  • sparse_values: 1-D. I values dello SparseTensor .
  • sparse_shape: 1-D. La shape dello SparseTensor .

Attributi opzionali (vedere Attrs ):

  • out_type: Il dtype da utilizzare per la serializzazione; i tipi supportati sono string (predefinito) e variant .

Resi:

  • Output : Il tensore serializzato sparso.

Costruttori e distruttori

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)

attributi pubblici

operation
serialized_sparse

Funzioni pubbliche

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

Funzioni statiche pubbliche

OutType (DataType x)

Strutture

tensorflow::ops::SerializeSparse::Attrs

Impostatori di attributi opzionali per SerializeSparse .

attributi pubblici

operazione

Operation operation

serializzato_sparso

::tensorflow::Output serialized_sparse

Funzioni pubbliche

SerializeSparse

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

SerializeSparse

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

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensoreflusso::output

 operator::tensorflow::Output() const 

Funzioni statiche pubbliche

OutType

Attrs OutType(
  DataType x
)