y=lab.reshape(x,m,n) returns an mxn tensor y whose elements are taken columwise from x, which must have m*n elements.