code: def _get_promoted_type_of_operands(operands):
      dtype = None
      for operand in operands:
          operand_dtype = ivy.as_ivy_dtype(operand.dtype)
          if dtype is None:
              dtype = operand_dtype
          else:
              dtype = ivy.promote_types(dtype, operand_dtype)
      return ivy.as_native_dtype(dtype)
  
file_path: ivy/ivy/functional/ivy/statistical.py
imports: from typing import Union, Optional, Sequence
  import ivy
  from ivy.utils.backend import current_backend
  from ivy.func_wrapper import handle_array_function, to_native_arrays_and_back, handle_out_argument, handle_nestable, handle_array_like_without_promotion, handle_device, handle_backend_invalid
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 1 for calling a global function with example usage: _get_promoted_type_of_operands(operands) and returns: ivy