Calculates the norm of a tensor.
The tensor
Optional
The type of norm, which can be "L0", "L1", "L2", or "LInfinity"
const result = Chalkboard.tens.norm([[3, 4]]); // Returns 5 Copy
const result = Chalkboard.tens.norm([[3, 4]]); // Returns 5
Calculates the norm of a tensor.