docstr: ivy.Container static method variant of ivy.argmax. This method
  simply wraps the function, and so the docstring for ivy.argmax also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  x
      input array or container. Should have a numeric data type.
  axis
      axis along which to search. If None, the function must return the index of
      the maximum value of the flattened array. Default: ``None``.
  keepdims
      If this is set to True, the axes which are reduced are left in the result as
      dimensions with size one. With this option, the result will broadcast
      correctly against the array.
  dtype
       Optional data type of the output array.
  out
      If provided, the result will be inserted into this array. It should be of
      the appropriate shape and dtype.
  
  Returns
  -------
  ret
      a container containing the indices of the maximum values across the
      specified axis.
  
  Examples
  --------
  >>> x = ivy.Container(a=ivy.array([[4., 0., -1.], [2., -3., 6]]),        ...                   b=ivy.array([[1., 2., 3.], [1., 1., 1.]])
  >>> y = ivy.Container.static_argmax(x, axis=1, keepdims=True)
  >>> print(y)
  {
      a: ivy.array([[0],
                    [2]]),
      b: ivy.array([[2],
                    [0]])
  }
docstr_tok: ["ivy.Container","static","method","variant","of","ivy.argmax",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.argmax","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","x","input","array","or","container",".","Should","have","a","numeric","data","type",".","axis","axis","along","which","to","search",".","If","None",",","the","function","must","return","the","index","of","the","maximum","value","of","the","flattened","array",".","Default",":","``","None","``",".","keepdims","If","this","is","set","to","True",",","the","axes","which","are","reduced","are","left","in","the","result","as","dimensions","with","size","one",".","With","this","option",",","the","result","will","broadcast","correctly","against","the","array",".","dtype","Optional","data","type","of","the","output","array",".","out","If","provided",",","the","result","will","be","inserted","into","this","array",".","It","should","be","of","the","appropriate","shape","and","dtype",".","Returns","--","--","--","-","ret","a","container","containing","the","indices","of","the","maximum","values","across","the","specified","axis",".","Examples","--","--","--","--",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","[","4.",",","0.",",","-1",".","]",",","[","2.",",","-3.",",","6","]","]",")",",","...","b=ivy.array","(","[","[","1.",",","2.",",","3",".","]",",","[","1.",",","1.",",","1",".","]","]",")",">",">",">","y","=","ivy.Container.static_argmax","(","x",",","axis=1",",","keepdims=True",")",">",">",">","print","(","y",")","{","a",":","ivy.array","(","[","[","0","]",",","[","2","]","]",")",",","b",":","ivy.array","(","[","[","2","]",",","[","0","]","]",")","}"]
code: def _static_argmax(
      x: Union[ivy.Container, ivy.Array, ivy.NativeArray],
      /,
      *,
      axis: Optional[Union[int, ivy.Container]] = None,
      keepdims: Union[bool, ivy.Container] = False,
      dtype: Optional[
          Union[ivy.Dtype, ivy.NativeDtype, ivy.Container]
      ] = None,
      select_last_index: Union[bool, ivy.Container] = False,
      out: Optional[ivy.Container] = None,
  ) -> ivy.Container:
      """ivy.Container static method variant of ivy.argmax. This method
          simply wraps the function, and so the docstring for ivy.argmax also
          applies to this method with minimal changes.
  
          Parameters
          ----------
          x
              input array or container. Should have a numeric data type.
          axis
              axis along which to search. If None, the function must return the index of
              the maximum value of the flattened array. Default: ``None``.
          keepdims
              If this is set to True, the axes which are reduced are left in the result as
              dimensions with size one. With this option, the result will broadcast
              correctly against the array.
          dtype
               Optional data type of the output array.
          out
              If provided, the result will be inserted into this array. It should be of
              the appropriate shape and dtype.
  
          Returns
          -------
          ret
              a container containing the indices of the maximum values across the
              specified axis.
  
          Examples
          --------
          >>> x = ivy.Container(a=ivy.array([[4., 0., -1.], [2., -3., 6]]),\
          ...                   b=ivy.array([[1., 2., 3.], [1., 1., 1.]])
          >>> y = ivy.Container.static_argmax(x, axis=1, keepdims=True)
          >>> print(y)
          {
              a: ivy.array([[0],
                            [2]]),
              b: ivy.array([[2],
                            [0]])
          }
          """
      return ContainerBase.cont_multi_map_in_function(
          "argmax",
          x,
          axis=axis,
          keepdims=keepdims,
          dtype=dtype,
          select_last_index=select_last_index,
          out=out,
      )
  
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 1 for calling the _ContainerWithSearching obj's underlying member method code with example usage: obj._static_argmax() and returns: ContainerBase