code: def nonzero(x: Array, /) -> Tuple[Array, ...]:
      """
      Array API compatible wrapper for :py:func:`np.nonzero <numpy.nonzero>`.
  
      See its docstring for more information.
      """
      return tuple(Array._new(i) for i in np.nonzero(x._array))
  
file_path: catboost/contrib/python/numpy/py3/numpy/array_api/_searching_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._dtypes import _result_type, _real_numeric_dtypes
  from typing import Optional, Tuple
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: nonzero() and returns: tuple