docstr: ivy.Array instance method variant of ivy.argmin. This method simply
  wraps the function, and so the docstring for ivy.argmin also applies to
  this method with minimal changes.
  
  Parameters
  ----------
  self
      input array. Should have a numeric data type.
  axis
      axis along which to search. If None, the function must return the index of
      the minimum value of the flattened array. Default = None.
  keepdims
      if True, the reduced axes (dimensions) must be included in the result as
      singleton dimensions, and, accordingly, the result must be compatible with
      the input array (see Broadcasting). Otherwise, if False, the reduced axes
      (dimensions) must not be included in the result. Default = False.
  dtype
      An optional output_dtype from: int32, int64. Defaults to int64.
  select_last_index
      If this is set to True, the index corresponding to the
      last occurrence of the minimum value will be returned.
  out
      if axis is None, a zero-dimensional array containing the index of the first
      occurrence of the minimum value; otherwise, a non-zero-dimensional array
      containing the indices of the minimum values. The returned array must have
      the default array index data type.
  
  Returns
  -------
  ret
      Array containing the indices of the minimum values across the specified
      axis.
  
  Examples
  --------
  Using :class:`ivy.Array` instance method:
  
  >>> x = ivy.array([0., 1., -1.])
  >>> y = x.argmin()
  >>> print(y)
  ivy.array(2)
  
  >>> x = ivy.array([[0., 1., -1.],[-2., 1., 2.],[1., -2., 0.]])
  >>> y= ivy.zeros((3,1), dtype=ivy.int64)
  >>> x.argmin(axis=1, keepdims=True, out=y)
  >>> print(y)
  ivy.array([[2],
         [0],
         [1]])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.argmin",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.argmin","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array",".","Should","have","a","numeric","data","type",".","axis","axis","along","which","to","search",".","If","None",",","the","function","must","return","the","index","of","the","minimum","value","of","the","flattened","array",".","Default","=","None",".","keepdims","if","True",",","the","reduced","axes","(","dimensions",")","must","be","included","in","the","result","as","singleton","dimensions",",","and",",","accordingly",",","the","result","must","be","compatible","with","the","input","array","(","see","Broadcasting",")",".","Otherwise",",","if","False",",","the","reduced","axes","(","dimensions",")","must","not","be","included","in","the","result",".","Default","=","False",".","dtype","An","optional","output_dtype","from",":","int32",",","int64",".","Defaults","to","int64",".","select_last_index","If","this","is","set","to","True",",","the","index","corresponding","to","the","last","occurrence","of","the","minimum","value","will","be","returned",".","out","if","axis","is","None",",","a","zero-dimensional","array","containing","the","index","of","the","first","occurrence","of","the","minimum","value",";","otherwise",",","a","non-zero-dimensional","array","containing","the","indices","of","the","minimum","values",".","The","returned","array","must","have","the","default","array","index","data","type",".","Returns","--","--","--","-","ret","Array","containing","the","indices","of","the","minimum","values","across","the","specified","axis",".","Examples","--","--","--","--","Using",":","class",":","`","ivy.Array","`","instance","method",":",">",">",">","x","=","ivy.array","(","[","0.",",","1.",",","-1",".","]",")",">",">",">","y","=","x.argmin","(",")",">",">",">","print","(","y",")","ivy.array","(","2",")",">",">",">","x","=","ivy.array","(","[","[","0.",",","1.",",","-1",".","]",",","[","-2.",",","1.",",","2",".","]",",","[","1.",",","-2.",",","0",".","]","]",")",">",">",">","y=","ivy.zeros","(","(","3,1",")",",","dtype=ivy.int64",")",">",">",">","x.argmin","(","axis=1",",","keepdims=True",",","out=y",")",">",">",">","print","(","y",")","ivy.array","(","[","[","2","]",",","[","0","]",",","[","1","]","]",")"]
code: def argmin(
      self: ivy.Array,
      /,
      *,
      axis: Optional[int] = None,
      keepdims: bool = False,
      dtype: Optional[Union[ivy.int32, ivy.int64]] = None,
      select_last_index: bool = False,
      out: Optional[ivy.Array] = None,
  ) -> Union[ivy.Array, int]:
      """ivy.Array instance method variant of ivy.argmin. This method simply
      wraps the function, and so the docstring for ivy.argmin also applies to
      this method with minimal changes.
  
      Parameters
      ----------
      self
          input array. Should have a numeric data type.
      axis
          axis along which to search. If None, the function must return the index of
          the minimum value of the flattened array. Default = None.
      keepdims
          if True, the reduced axes (dimensions) must be included in the result as
          singleton dimensions, and, accordingly, the result must be compatible with
          the input array (see Broadcasting). Otherwise, if False, the reduced axes
          (dimensions) must not be included in the result. Default = False.
      dtype
          An optional output_dtype from: int32, int64. Defaults to int64.
      select_last_index
          If this is set to True, the index corresponding to the
          last occurrence of the minimum value will be returned.
      out
          if axis is None, a zero-dimensional array containing the index of the first
          occurrence of the minimum value; otherwise, a non-zero-dimensional array
          containing the indices of the minimum values. The returned array must have
          the default array index data type.
  
      Returns
      -------
      ret
          Array containing the indices of the minimum values across the specified
          axis.
  
      Examples
      --------
      Using :class:`ivy.Array` instance method:
  
      >>> x = ivy.array([0., 1., -1.])
      >>> y = x.argmin()
      >>> print(y)
      ivy.array(2)
  
      >>> x = ivy.array([[0., 1., -1.],[-2., 1., 2.],[1., -2., 0.]])
      >>> y= ivy.zeros((3,1), dtype=ivy.int64)
      >>> x.argmin(axis=1, keepdims=True, out=y)
      >>> print(y)
      ivy.array([[2],
             [0],
             [1]])
      """
      return ivy.argmin(
          self._data,
          axis=axis,
          keepdims=keepdims,
          dtype=dtype,
          select_last_index=select_last_index,
          out=out,
      )
  
file_path: ivy/ivy/data_classes/array/searching.py
imports: import abc
  from numbers import Number
  from typing import Optional, Union, Tuple
  import ivy
label_desc: Use image node_id 2 for calling the _ArrayWithSearching obj's underlying member method code with example usage: obj.argmin() and returns: ivy