lab.norm(x)
y=lab.norm(x) returns the 2-norm of the tensor x.
y=lab.norm(x)
y=lab.norm(x,p) returns the p-norm of the tensor x.
y=lab.norm(x,p)