code: def test_activation(self):
      config = REGNET_TEST_CONFIGS[0][0]
      model_default = build_model(config)
      config = copy.deepcopy(config)
      config["activation"] = "relu"
      model_relu = build_model(config)
  
      # both models should be the same
      self._compare_models(model_default, model_relu, expect_same=True)
  
      # we don't expect any silus in the model
      self._check_no_module_cls_in_model(nn.SiLU, model_relu)
  
      config["activation"] = "silu"
      model_silu = build_model(config)
  
      # the models should be different
      self._compare_models(model_silu, model_relu, expect_same=False)
  
      # swap out all relus with silus
      self.swap_relu_with_silu(model_relu)
      print(model_relu)
      # both models should be the same
      self._compare_models(model_relu, model_silu, expect_same=True)
  
      # we don't expect any relus in the model
      self._check_no_module_cls_in_model(nn.ReLU, model_relu)
  
imports: import copy
  import logging
  import unittest
  import torch
  import torch.nn
  from classy_vision.generic.util import get_torch_version
  from classy_vision.models import build_model, RegNet
  from parameterized import parameterized
label_desc: Use image node_id 4 for calling the TestRegNet obj's underlying member method code with example usage: obj.test_activation() without return types