dpnp.dpnp_array.dpnp_array.nonzero

method

dpnp_array.nonzero()[source]

Return the indices of the elements that are non-zero.

Refer to dpnp.nonzero for full documentation.