def nonzero(self) -> tuple[ndarray, ...]:
        """a.nonzero()

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

        Refer to :func:`cupynumeric.nonzero` for full documentation.

        See Also
        --------
        cupynumeric.nonzero : equivalent function

        Availability
        --------
        Multiple GPUs, Multiple CPUs

        """
        thunks = self._thunk.nonzero()
        return tuple(
            ndarray(shape=thunk.shape, thunk=thunk) for thunk in thunks
        )
a.nonzero()

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

        Refer to :func:`cupynumeric.nonzero` for full documentation.

        See Also
        --------
        cupynumeric.nonzero : equivalent function

        Availability
        --------
        Multiple GPUs, Multiple CPUs

        
cupynumeric/_array/array.py