dpnp.ndarray.nonzero

method

ndarray.nonzero()

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

Refer to dpnp.nonzero for full documentation.