class_docstr: This class implements `MobileOne architecture <https://arxiv.org/pdf/2206.04040.pdf>`_
docstr: Add model specific arguments
docstr_tok: ["Add","model","specific","arguments"]
code: def add_arguments(
      cls, parser: argparse.ArgumentParser
  ) -> argparse.ArgumentParser:
      """Add model specific arguments"""
      group = parser.add_argument_group(title=cls.__name__)
      group.add_argument(
          "--model.classification.mobileone.variant",
          type=str,
          default="s1",
          help="Variant string for MobileOne. Default: s1",
      )
      group.add_argument(
          "--model.classification.mobileone.inference-mode",
          type=bool,
          default=False,
          help="Flag to instantiate inference mode architecture. Default: False",
      )
      return parser
  
file_path: ml-cvnets/cvnets/models/classification/mobileone.py
imports: import argparse
  import copy
  import torch.nn
  from cvnets.layers import GlobalPool, Identity, LinearLayer
  from cvnets.models import MODEL_REGISTRY
  from cvnets.models.classification.base_image_encoder import BaseImageEncoder
  from cvnets.models.classification.config.mobileone import get_configuration
  from cvnets.modules.mobileone_block import MobileOneBlock
label_desc: Use image node_id 2 for calling the MobileOne obj's underlying member method code with example usage: obj.add_arguments(cls, parser) and returns: parser