class_docstr: This class defines the `MobileViTv2 <https://arxiv.org/abs/2206.02680>`_ architecture
code: def add_arguments(
      cls, parser: argparse.ArgumentParser
  ) -> argparse.ArgumentParser:
      group = parser.add_argument_group(title=cls.__name__)
      group.add_argument(
          "--model.classification.mitv2.attn-dropout",
          type=float,
          default=0.0,
          help="Dropout in attention layer. Defaults to 0.0",
      )
      group.add_argument(
          "--model.classification.mitv2.ffn-dropout",
          type=float,
          default=0.0,
          help="Dropout between FFN layers. Defaults to 0.0",
      )
      group.add_argument(
          "--model.classification.mitv2.dropout",
          type=float,
          default=0.0,
          help="Dropout in attention layer. Defaults to 0.0",
      )
      group.add_argument(
          "--model.classification.mitv2.width-multiplier",
          type=float,
          default=1.0,
          help="Width multiplier. Defaults to 1.0",
      )
      group.add_argument(
          "--model.classification.mitv2.attn-norm-layer",
          type=str,
          default="layer_norm_2d",
          help="Norm layer in attention block. Defaults to LayerNorm",
      )
      return parser
  
file_path: ml-cvnets/cvnets/models/classification/mobilevit_v2.py
imports: import argparse
  from typing import Dict, Optional, Tuple
  from torch import nn
  from cvnets.layers import ConvLayer2d, GlobalPool, Identity, LinearLayer
  from cvnets.models import MODEL_REGISTRY
  from cvnets.models.classification.base_image_encoder import BaseImageEncoder
  from cvnets.models.classification.config.mobilevit_v2 import get_configuration
  from cvnets.modules import InvertedResidual
  from cvnets.modules import MobileViTBlockv2
label_desc: Use image node_id 2 for calling the MobileViTv2 obj's underlying member method code with example usage: obj.add_arguments(cls, parser) and returns: parser