dpnp.dpnp_array.dpnp_array.sum

method

dpnp_array.sum(axis=None, dtype=None, out=None, keepdims=False, initial=None, where=True)[source]

Returns the sum along a given axis.

Refer to dpnp.sum for full documentation.