code: def argmin(
      a: ArrayLike,
      axis: AxisLike = None,
      out: Optional[OutArray] = None,
      *,
      keepdims: KeepDims = False,
  ):
      if a.is_complex():
          raise NotImplementedError(f"argmin with dtype={a.dtype}.")
  
      axis = _util.allow_only_single_axis(axis)
  
      if a.dtype == torch.bool:
          # RuntimeError: "argmin_cpu" not implemented for 'Bool'
          a = a.to(torch.uint8)
  
      return torch.argmin(a, axis)
  
imports: from __future__ import annotations
  import functools
  from typing import Optional
  import torch
  from .None import _dtypes_impl, _util
  from ._normalizations import ArrayLike, AxisLike, DTypeLike, KeepDims, NotImplementedType, OutArray
label_desc: Use image node_id 5 for calling a global function with example usage: argmin(a, axis, out) and returns: torch