How exactly does changing a tensor to column-major help sparse matrices on GPU?
I think you could transpose a matrix: matrix.t().contiguous() and that would change the matrix to column-major, but I’m not sure that’s what you want.