code: def min(
      x: paddle.Tensor,
      /,
      *,
      axis: Optional[Union[int, Sequence[int]]] = None,
      keepdims: bool = False,
      initial: Optional[Union[int, float, complex]] = None,
      where: Optional[paddle.Tensor] = None,
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      ret_dtype = x.dtype
      if paddle.is_complex(x):
          real = paddle.amin(x.real(), axis=axis, keepdim=keepdims)
          imag = paddle.amin(x.imag(), axis=axis, keepdim=keepdims)
          ret = paddle.complex(real, imag)
      else:
          if where is not None:
              max_val = (
                  ivy.iinfo(x.dtype).max
                  if ivy.is_int_dtype(x.dtype)
                  else ivy.finfo(x.dtype).max
              )
              max_val = max_val / 10
              # max_val becomes negative after multiplying with paddle.ones_like(x)
              # therefore reduced it
              val = paddle.ones_like(x) * max_val
              val = val.astype(ret_dtype)
              x = paddle.where(where, x, val)
          ret = paddle.amin(x, axis=axis, keepdim=keepdims)
      # The following code is to simulate other frameworks
      # output shapes behaviour since min output dim is 1 in paddle
      if isinstance(axis, Sequence):
          if len(axis) == x.ndim:
              axis = None
      if (x.ndim == 1 or axis is None) and not keepdims:
          ret = ret.squeeze()
      if initial is not None:
          initial = paddle.to_tensor(initial, dtype=ret_dtype)
          ret = paddle.minimum(ret, initial)
      return ret.astype(ret_dtype)
  
file_path: ivy/ivy/functional/backends/paddle/statistical.py
imports: from typing import Union, Optional, Sequence
  import paddle
  import ivy
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_dtypes, with_supported_device_and_dtypes
  import ivy.functional.backends.paddle
  from ivy.utils.einsum_parser import legalise_einsum_expr
  from .None import backend_version
label_desc: Use image node_id 1 for calling a global function with example usage: min() and returns: ret