code: def print_json_oss_format(results):
      oss_results = {}
      for group_name, group_val in results.items():
          oss_results[group_name] = {}
          for model_name, run_time in group_val.items():
              # Output for OSS
              oss_results[group_name][model_name] = run_time["avg"]
  
      print(json.dumps(oss_results))
  
imports: import argparse
  import copy
  import gc
  import json
  import sys
  import time
  from collections import namedtuple
  import torch
  from torch.autograd.profiler import record_function
  from .fuser import set_fuser
  from .runner import get_nn_runners
label_desc: Use image node_id 7 for calling a global function with example usage: print_json_oss_format(results) without return types