tf.sparse_reshape

tf.sparse_reshape

tf.sparse_reshape

sparse_reshape(
    sp_input,
    shape,
    name=None
)

Defined in tensorflow/python/ops/sparse_ops.py.

See the guide: Sparse Tensors > Manipulation

Reshapes a SparseTensor to represent values in a new dense shape.

This operation has the same semantics as reshape on the represented dense