code: def prod(x: Shape) -> int:
      result = 1
      for i in x:
          result *= i
      return result
  
file_path: einops/einops/packing.py
imports: from functools import lru_cache
  from typing import List, Union, TypeVar, Tuple, Sequence
  from einops import EinopsError
  from einops._backends import get_backend
  from einops.parsing import ParsedExpression
label_desc: Use image node_id 3 for calling a global function with example usage: prod(x) and returns: result