code: def get_fallback_ops():
      fallback_ops = []
      for opname in metrics.counter_names():
          if "aten::" not in opname:
              continue
          val = int(metrics.counter_value(opname))
          if val > 0:
              fallback_ops.append(f"{opname}={val}")
  
      return fallback_ops
  
file_path: pytorch/torch/_lazy/extract_compiled_graph.py
imports: import copy
  import dataclasses
  import itertools
  import os
  from typing import Any, Callable, Dict, List
  import torch
  import torch._lazy
  import torch._lazy.metrics
  from torch import fx
  from torch._lazy import computation, debug
  from torch._lazy.tensor_factory_functions import tensor_factory_functions
label_desc: Use image node_id 2 for calling a global function with example usage: get_fallback_ops() and returns: fallback_ops