code: def prod(iterable: Iterable[int]) -> int:
      return reduce(operator.mul, iterable, 1)
  
file_path: torchrec/torchrec/distributed/planner/utils.py
imports: import operator
  from functools import reduce
  from typing import Any, cast, Dict, Iterable, List, Optional, Type, Union
  import torch
  from torchrec.distributed.planner.types import Perf, ShardingOption, Storage
  from torchrec.distributed.types import ShardingType
label_desc: Use image node_id 5 for calling a global function with example usage: prod(iterable) and returns: reduce