code: def mobilenet_fn(pretrained: bool = True):
      model = torchvision.models.mobilenet_v2(pretrained=pretrained)
  
      features = model.features
      features.out_channels = 1280
      features.param_groups = MethodType(
          mobilenet_param_groups, features
      )
  
      return features
  
file_path: icevision/icevision/models/fastai/unet/backbones/mobilenet_configs.py
imports: from types import MethodType
  from typing import List
  from icevision.utils.torch_utils import check_all_model_params_in_groups2
  from torch import nn
  import torchvision
  from icevision.models.fastai.unet.backbones.backbone_config import TorchvisionUNetBackboneConfig
label_desc: Use image node_id 1 for calling a global function with example usage: mobilenet_fn(pretrained) and returns: features