lab.mean(x)
y=lab.mean(x) returns a tensor y of the mean of the elements in each column of x.
y=lab.mean(x)
y=lab.mean(x,2) performs the mean operation for each row and y=lab.mean(x,n) performs the mean operation over the dimension n.
y=lab.mean(x,2)
y=lab.mean(x,n)