tensorly
.norm
- norm(tensor, order=2, axis=None)
Computes the l-order norm of a tensor.
- Parameters:
- tensortl.tensor
- orderint
- axisint or tuple
- Returns:
- float or tensor
If axis is provided returns a tensor.
tensorly
.normComputes the l-order norm of a tensor.
If axis is provided returns a tensor.