code: def einsum(
      equation: str,
      *operands: torch.Tensor,
      out: Optional[torch.Tensor] = None,
  ) -> torch.Tensor:
      dtype = _get_promoted_type_of_operands(operands)
      return ivy.astype(
          torch.einsum(equation, *operands), dtype, copy=False
      )
  
file_path: ivy/ivy/functional/backends/torch/statistical.py
imports: from typing import Union, Optional, Sequence
  import torch
  import ivy
  from ivy.functional.ivy.statistical import _get_promoted_type_of_operands
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from .None import backend_version
label_desc: Use image node_id 11 for calling a global function with example usage: einsum(equation) and returns: ivy