Remove tensor dimensions of size 1

squeeze(x, todrop = NULL)

Arguments

x

sptensor

todrop

specific dimensions to drop. If NULL, will drop all dimensions of size 1