docstr: ivy.Container static method variant of ivy.nonzero. This method
  simply wraps the function, and so the docstring for ivy.nonzero also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  x
      input array or container. Should have a numeric data type.
  as_tuple
      if True, the output is returned as a tuple of indices, one for each
      dimension of the input, containing the indices of the true elements in that
      dimension. If False, the coordinates are returned in a (N, ndim) array,
      where N is the number of true elements. Default = True.
  size
      if specified, the function will return an array of shape (size, ndim).
      If the number of non-zero elements is fewer than size, the remaining
      elements will be filled with fill_value. Default = None.
  fill_value
      when size is specified and there are fewer than size number of elements,
      the remaining elements in the output array will be filled with fill_value.
      Default = 0.
  
  Returns
  -------
  ret
      a container containing the indices of the nonzero values.
docstr_tok: ["ivy.Container","static","method","variant","of","ivy.nonzero",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.nonzero","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","x","input","array","or","container",".","Should","have","a","numeric","data","type",".","as_tuple","if","True",",","the","output","is","returned","as","a","tuple","of","indices",",","one","for","each","dimension","of","the","input",",","containing","the","indices","of","the","true","elements","in","that","dimension",".","If","False",",","the","coordinates","are","returned","in","a","(","N",",","ndim",")","array",",","where","N","is","the","number","of","true","elements",".","Default","=","True",".","size","if","specified",",","the","function","will","return","an","array","of","shape","(","size",",","ndim",")",".","If","the","number","of","non-zero","elements","is","fewer","than","size",",","the","remaining","elements","will","be","filled","with","fill_value",".","Default","=","None",".","fill_value","when","size","is","specified","and","there","are","fewer","than","size","number","of","elements",",","the","remaining","elements","in","the","output","array","will","be","filled","with","fill_value",".","Default","=","0",".","Returns","--","--","--","-","ret","a","container","containing","the","indices","of","the","nonzero","values","."]
code: def _static_nonzero(
      x: Union[ivy.Container, ivy.Array, ivy.NativeArray],
      /,
      *,
      as_tuple: Union[bool, ivy.Container] = True,
      size: Optional[Union[int, ivy.Container]] = None,
      fill_value: Union[Number, ivy.Container] = 0,
  ) -> ivy.Container:
      """ivy.Container static method variant of ivy.nonzero. This method
      simply wraps the function, and so the docstring for ivy.nonzero also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      x
          input array or container. Should have a numeric data type.
      as_tuple
          if True, the output is returned as a tuple of indices, one for each
          dimension of the input, containing the indices of the true elements in that
          dimension. If False, the coordinates are returned in a (N, ndim) array,
          where N is the number of true elements. Default = True.
      size
          if specified, the function will return an array of shape (size, ndim).
          If the number of non-zero elements is fewer than size, the remaining
          elements will be filled with fill_value. Default = None.
      fill_value
          when size is specified and there are fewer than size number of elements,
          the remaining elements in the output array will be filled with fill_value.
          Default = 0.
  
      Returns
      -------
      ret
          a container containing the indices of the nonzero values.
      """
      return ContainerBase.cont_multi_map_in_function(
          "nonzero",
          x,
          as_tuple=as_tuple,
          size=size,
          fill_value=fill_value,
      )
  
file_path: ivy/ivy/data_classes/container/searching.py
imports: from numbers import Number
  from typing import Optional, Union, List, Dict
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 5 for calling the _ContainerWithSearching obj's underlying member method code with example usage: obj._static_nonzero() and returns: ContainerBase