code: def test_resnet():
      params = [4, 4, 8, 8, 16]
  
      model = ResNet18(params)
      _ = model(sample_input)
  
      model = ResNet34(params)
      _ = model(sample_input)
  
      model = ResNet50(params)
      _ = model(sample_input)
  
      model = ResNet101(params)
      _ = model(sample_input)
  
      model = ResNet152(params)
      _ = model(sample_input)
  
      model = ResNet34(params, att=True)
      _ = model(sample_input)
  
      model = ResNet34(params, mean=True)
      _ = model(sample_input)
  
      model = ResNet101(params, att=True)
      _ = model(sample_input)
  
      model = ResNet101(params, mean=True)
      _ = model(sample_input)
  
file_path: KD_Lib/tests/test_models.py
imports: import torch
  from KD_Lib.models import LeNet, LSTMNet, ModLeNet, NetworkInNetwork, ResNet18, ResNet34, ResNet50, ResNet101, ResNet152, Shallow
label_desc: Use image node_id 1 for calling a global function with example usage: test_resnet() without return types