tensorflow::ops::DeserializeManySparse

tensorflow::ops::DeserializeManySparse

#include <sparse_ops.h>

Deserialize and concatenate SparseTensors from a serialized minibatch.

Summary

The input serialized_sparse must be a string matrix of shape [N x 3] where N is the minibatch size and the rows correspond to packed outputs of SerializeSparse. The ranks of the original SparseTensor objects must all match. When the final SparseTensor is created, it has rank one higher than the ranks of the incoming SparseTensor objects (they have been concatenated along a new row dimension).

The output SparseTensor object's shape values for all dimensions but the first are the max across the input SparseTensor objects' shape values for the corresponding dimensions. It