dpnp.ndarray.sum

method

ndarray.sum(axis=None, dtype=None, out=None, keepdims=False, initial=None, where=True)

Returns the sum along a given axis.

Refer to dpnp.sum for full documentation.