code: def test_model_complexity_hook(self) -> None:
      model_configs = get_test_model_configs()
  
      task = get_test_classy_task()
      task.prepare()
  
      # create a model complexity hook
      model_complexity_hook = ModelComplexityHook()
  
      for model_config in model_configs:
          model = build_model(model_config)
  
          task.base_model = model
  
          with self.assertLogs():
              model_complexity_hook.on_start(task)
  
file_path: ClassyVision/test/manual/hooks_model_complexity_hook_test.py
imports: import unittest
  from classy_vision.hooks import ModelComplexityHook
  from classy_vision.models import build_model
  from test.generic.config_utils import get_test_classy_task, get_test_model_configs
  from test.generic.hook_test_utils import HookTestBase
label_desc: Use image node_id 2 for calling the TestModelComplexityHook obj's underlying member method code with example usage: obj.test_model_complexity_hook() without return types