dreye.l1norm#
- dreye.l1norm(arr, axis=-1, keepdims=False)[source]#
Calculate the L1-norm of an array along a given axis.
- Parameters:
- arrndarray
Array to calculate the L1-norm of.
- axisint, optional
Axis to calculate the norm along, default is -1.
- keepdimsbool, optional
Whether to keep the original number of dimensions, default is False.
- Returns:
- ndarray
L1-norm of the array along the given axis.