norm
Say it “the norm of x / the 2-norm of x”
The length or size of a vector. The subscript says which kind: ‖·‖₂ is straight-line length, ‖·‖₁ is the sum of absolute values.
Example
In code
np.linalg.norm(x, ord=2)torch.linalg.norm(x)Where you’ll see it in ML
Weight decay, gradient clipping, normalizing embeddings.