tensorflow::ops::SerializeSparse

tensorflow::ops::SerializeSparse

#include <sparse_ops.h>

Serialize a SparseTensor into a string 3-vector (1-D Tensor) object.

Summary

Arguments:

  • scope: A Scope object
  • sparse_indices: 2-D. The indices of the SparseTensor.
  • sparse_values: 1-D. The values of the SparseTensor.
  • sparse_shape: 1-D. The shape of the SparseTensor.

Returns:

  • Output: The serialized_sparse tensor.
Constructors and Destru