code: def test_pretrained(self, img_size, num_classes):
      model = TinyViT.from_config(
          "5m",
          img_size=img_size,
          num_classes=num_classes,
          pretrained=True,
      )
      assert isinstance(model, TinyViT)
  
file_path: kornia/test/contrib/models/test_tiny_vit.py
imports: import pytest
  import torch
  from kornia.contrib.models.tiny_vit import TinyViT
  from kornia.core import Tensor
  from kornia.testing import BaseTester
label_desc: Use image node_id 8 for calling the TestTinyViT obj's underlying member method code with example usage: obj.test_pretrained(img_size, num_classes) without return types