code: def main():
      parser = argparse.ArgumentParser(
          "Produce optimization output baseline from PyTorch"
      )
      parser.add_argument("-i", "--iterations", default=1001, type=int)
      parser.add_argument("-s", "--sample-every", default=100, type=int)
      options = parser.parse_args()
  
      optimizer_parameter_map = {}
      for optimizer in OPTIMIZERS.keys():
          sys.stderr.write(f"Evaluating {optimizer} ...\n")
          optimizer_parameter_map[optimizer] = run(
              optimizer, options.iterations, options.sample_every
          )
  
      emit(optimizer_parameter_map)
  
file_path: pytorch/test/cpp/api/optim_baseline.py
imports: import argparse
  import math
  import sys
  import torch
  import torch.optim
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types