code: def get_submodule_folders():
      git_modules_path = os.path.join(cwd, ".gitmodules")
      default_modules_path = [
          os.path.join(third_party_path, name)
          for name in [
              "gloo",
              "cpuinfo",
              "tbb",
              "onnx",
              "foxi",
              "QNNPACK",
              "fbgemm",
              "cutlass",
          ]
      ]
      if not os.path.exists(git_modules_path):
          return default_modules_path
      with open(git_modules_path) as f:
          return [
              os.path.join(cwd, line.split("=", 1)[1].strip())
              for line in f.readlines()
              if line.strip().startswith("path")
          ]
  
imports: import sys
  import platform
  import filecmp
  import glob
  import importlib
  import json
  import os
  import shutil
  import subprocess
  import sysconfig
  import time
  from collections import defaultdict
  import setuptools.command.build_ext
  import setuptools.command.install
  import setuptools.command.sdist
  from setuptools import Extension, find_packages, setup
  from setuptools.dist import Distribution
  from tools.build_pytorch_libs import build_caffe2
  from tools.generate_torch_version import get_torch_version
  from tools.setup_helpers.cmake import CMake
  from tools.setup_helpers.env import build_type, IS_DARWIN, IS_LINUX, IS_WINDOWS
label_desc: Use image node_id 1 for calling a global function with example usage: get_submodule_folders() and returns: default_modules_path, unknown