cr.nimble.arr_l1norm¶
- cr.nimble.arr_l1norm(x)[source]¶
Returns the l1-norm of an array by flattening it
- Parameters
x (jax.numpy.ndarray) – An nd-array
- Returns
l1 norm of x
- Return type
(float)
Returns the l1-norm of an array by flattening it
x (jax.numpy.ndarray) – An nd-array
l1 norm of x
(float)