code: def load_root_ops(fname: str) -> List[str]:
      result = []
      with open(fname) as stream:
          for op in yaml.safe_load(stream):
              result.append(canonical_name(op))
      return result
  
file_path: pytorch/tools/code_analyzer/gen_op_registration_allowlist.py
imports: import argparse
  from collections import defaultdict
  from typing import Dict, List, Set
  import yaml
label_desc: Use image node_id 3 for calling a global function with example usage: load_root_ops(fname) and returns: result