code: def nonzero(input, /, *, as_tuple=False):
      ret = ivy.nonzero(input)
      if as_tuple is False:
          ret = ivy.matrix_transpose(ivy.stack(ret))
      return ret
  
file_path: ivy/ivy/functional/frontends/paddle/search.py
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 7 for calling a global function with example usage: nonzero() and returns: ret