code: def argmin(a, axis=None, out=None, keepdims=None):
      if a is not None:
          if isinstance(a, list):
              if all(isinstance(elem, ivy.Array) for elem in a):
                  if len(a) == 1:
                      a = a[0]
                  else:
                      return [
                          ivy.argmin(
                              ivy.to_native_arrays(elem),
                              axis=axis,
                              out=out,
                              keepdims=keepdims,
                          )
                          for elem in a
                      ]
              else:
                  raise ValueError(
                      "Input 'a' must be an Ivy array or a list of Ivy arrays."
                  )
  
          if not isinstance(a, ivy.Array):
              raise TypeError("Input 'a' must be an array.")
  
          if a.size == 0:
              raise ValueError("Input 'a' must not be empty.")
  
          return ivy.argmin(a, axis=axis, out=out, keepdims=keepdims)
      else:
          raise ValueError("argmin takes at least 1 argument.")
  
imports: import logging
  import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.numpy.func_wrapper import from_zero_dim_arrays_to_scalar
  from ivy.func_wrapper import with_supported_device_and_dtypes, with_unsupported_dtypes
label_desc: Use image node_id 2 for calling a global function with example usage: argmin(a, axis, out, keepdims) and returns: ivy, unknown