code: def mobile_vit_xx_small(num_classes: int = 1000):
      # pretrain weight link
      # https://docs-assets.developer.apple.com/ml-research/models/cvnets/classification/mobilevit_xxs.pt
      config = get_config("xx_small")
      m = MobileViT(config, num_classes=num_classes)
      return m
  
imports: from typing import Optional, Tuple, Union, Dict
  import math
  import torch
  import torch.nn
  from torch import Tensor
  from torch.nn import functional
  from transformer import TransformerEncoder
  from model_config import get_config
label_desc: Use image node_id 2 for calling a global function with example usage: mobile_vit_xx_small(num_classes) and returns: m