tensorflow::ops::SerializeSparse

#include <sparse_ops.h>

Serialisasikan SparseTensor menjadi objek [3] Tensor .

Ringkasan

Argumen:

  • Cakupan: Objek Cakupan
  • sparse_indices: 2-D. indices dari SparseTensor .
  • sparse_values: 1-D. values dari SparseTensor .
  • sparse_shape: 1-D. shape SparseTensor .

Atribut opsional (lihat Attrs ):

  • out_type: dtype yang akan digunakan untuk serialisasi; tipe yang didukung adalah string (default) dan variant .

Mengembalikan:

  • Output : Tensor serialized_sparse.

Konstruktor dan Destruktor

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)

Atribut publik

operation
serialized_sparse

Fungsi publik

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

Fungsi statis publik

OutType (DataType x)

Struktur

tensorflow::ops::SerializeSparse::Attrs

Setter atribut opsional untuk SerializeSparse .

Atribut publik

operasi

Operation operation

serialisasi_jarang

::tensorflow::Output serialized_sparse

Fungsi publik

SerialisasikanSparse

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

SerialisasikanSparse

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

simpul

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Fungsi statis publik

OutType

Attrs OutType(
  DataType x
)