Compute L1 sparsity of the input tensor.
(N,) or (B, N) tensor array.
Mean L1 sparsity of tensor, scalar.