class_docstr: Generates unit tests for complexity.
class_docstr_tok: ["Generates","unit","tests","for","complexity","."]
code: def test(self, key, out_expected):
      print("Testing complexity of: {}".format(key))
      out = test_complexity(key)
      self.assertEqual(out, out_expected)
  
imports: import datetime
  import json
  import os
  import shutil
  import tempfile
  import unittest
  import pycls.core.builders
  import pycls.core.distributed
  import pycls.core.logging
  import pycls.core.net
  import pycls.core.trainer
  import pycls.models.model_zoo
  from parameterized import parameterized
  from pycls.core.config import cfg, load_cfg, reset_cfg
label_desc: Use image node_id 1 for calling the TestComplexity obj's underlying member method code with example usage: obj.test(key, out_expected) without return types