code: def main() -> None:
      parser = argparse.ArgumentParser(
          description="Generate autograd C++ files script"
      )
      parser.add_argument(
          "native_functions",
          metavar="NATIVE",
          help="path to native_functions.yaml",
      )
      parser.add_argument(
          "tags", metavar="NATIVE", help="path to tags.yaml"
      )
      parser.add_argument(
          "out", metavar="OUT", help="path to output directory"
      )
      parser.add_argument(
          "autograd",
          metavar="AUTOGRAD",
          help="path to autograd directory",
      )
      args = parser.parse_args()
      gen_autograd(
          args.native_functions,
          args.tags,
          args.out,
          args.autograd,
          SelectiveBuilder.get_nop_selector(),
      )
  
file_path: pytorch/tools/autograd/gen_autograd.py
imports: import argparse
  import os
  from typing import List
  from torchgen.api import cpp
  from torchgen.api.autograd import match_differentiability_info, NativeFunctionWithDifferentiabilityInfo
  from torchgen.gen import parse_native_yaml
  from torchgen.selective_build.selector import SelectiveBuilder
  from .None import gen_python_functions
  from .gen_autograd_functions import gen_autograd_functions_lib, gen_autograd_functions_python
  from .gen_inplace_or_view_type import gen_inplace_or_view_type
  from .gen_trace_type import gen_trace_type
  from .gen_variable_factories import gen_variable_factories
  from .gen_variable_type import gen_variable_type
  from .load_derivatives import load_derivatives
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types