lab.ones(n)
y=lab.ones(n) returns a one-dimensional tensor of size n filled with ones.
y=lab.ones(n)
y=lab.ones(m,n) returns a mxn tensor filled with ones.
y=lab.ones(m,n)