warp.norm_l2#

warp.norm_l2(v: Any) None#
  • Kernel

  • Differentiable

Computes the L2 norm of a vector v.

\[\|v\|_2 = \sqrt{\sum_i v_i^2}\]
Args:

v (Vector[Any,Float]): The vector to compute the L2 norm of.

Returns:

float: The L2 norm of the vector.