docstr: Resnet18 tensor shapes should match torchvision.
docstr_tok: ["Resnet18","tensor","shapes","should","match","torchvision","."]
code: def test_resnet18(self):
      """Resnet18 tensor shapes should match torchvision."""
      self.assert_tensor_sizes_match_torchvision("resnet18")
  
imports: import collections
  import unittest
  import torch
  import torchvision.models
  from classy_vision.generic.util import get_torch_version
  from classy_vision.models import build_model, ResNeXt
  from test.generic.utils import compare_model_state
label_desc: Use image node_id 3 for calling the TestTorchvisionEquivalence obj's underlying member method code with example usage: obj.test_resnet18() without return types