code: def main():
      combis = list(itertools.product(*specs.values()))
  
      # create data with maximum shape
      global data
      print("create data")
      data = Data(max(specs["features"]), max(specs["examples"]))
      print("done")
  
      # run actual tests
      results = []
      for i, combi in enumerate(combis):
          print("running test %d/%d" % (i + 1, len(combis)))
          d = collections.OrderedDict(zip(specs.keys(), combi))
          d["times"] = test(**d)
          results.append(d)
          if i == 3:
              break
  
      with open(output_file, "w") as f:
          json.dump(results, f, indent=4)
  
file_path: tfdeploy/tests/perf/measure_runtimes.py
imports: import os
  import time
  import json
  import uuid
  import itertools
  import collections
  import numpy
  import tensorflow
  import tfdeploy
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types