code: def torch_where(
      condition: torch.Tensor, x: Any, y: Any
  ) -> Tuple[int, int]:
      # torch.where returns the broadcasted tensor of condition, x, and y,
      # so hack it by using addition
      flops = condition.numel()
      macs = 0
      return flops, macs
  
file_path: colossalai/colossalai/fx/profiler/experimental/profiler_function/torch_ops.py
imports: import operator
  from functools import reduce
  from typing import Any, Optional, Tuple
  import torch
  from ..registry import meta_profiler_function
label_desc: Use image node_id 2 for calling a global function with example usage: torch_where(condition, x, y) and returns: flops,  macs