sum_every
- sum_every(x, n, axis=None)[source]
Sum blocks of size n along a specified axis.
- Parameters:
- Returns:
Resulting summed array.
- Return type:
jnp.ndarray
- Raises:
ValueError – If the shape of the specified axis is not divisible by n.
Sum blocks of size n along a specified axis.
Resulting summed array.
jnp.ndarray
ValueError – If the shape of the specified axis is not divisible by n.