code: def __init__(self, model_config: AttrDict, model_name: str):
      super().__init__()
      self.mobile_net_config = model_config.TRUNK.MOBILE_NET
      self.name = self.mobile_net_config.NAME
      self.pretrained = self.mobile_net_config.get("PRETRAINED", False)
      self.trunk_only = self.mobile_net_config.get("TRUNK_ONLY", True)
      if self.name == "mobilenetv3_large_100":
          self.model = mobilenetv3_large_100(pretrained=self.pretrained)
          if self.trunk_only:
              self.model.conv_head = nn.Identity()
          self.model.classifier = nn.Identity()
      else:
          raise ValueError(
              f"Unknown model: {self.mobile_net_config.NAME}"
          )
  
imports: from functools import partial
  from typing import List
  import torch
  import torch.nn
  import torch.nn.functional
  from timm.models.mobilenetv3 import mobilenetv3_large_100
  from torchvision.models import mobilenet_v3_large
  from vissl.config import AttrDict
  from vissl.models.trunks import register_model_trunk
label_desc: Use image node_id 1 to create a new MobileNetV3_Timm object from inherited base classes: nn with example: obj = MobileNetV3_Timm(model_config, model_name)