code: def open_test_results(directory):
      xmls = []
      for root, _, files in os.walk(directory):
          for file in files:
              if file.endswith(".xml"):
                  tree = ET.parse(f"{root}/{file}")
                  xmls.append(tree)
      return xmls
  
file_path: pytorch/scripts/compile_tests/common.py
imports: import os
  import xml.etree.ElementTree
label_desc: Use image node_id 1 for calling a global function with example usage: open_test_results(directory) and returns: xmls