class_docstr: This class implements `MobileOne architecture <https://arxiv.org/pdf/2206.04040.pdf>`_
docstr: Method returns a model where a multi-branched structure
     used in training is re-parameterized into a single branch
      for inference.
  
  Returns:
      Reparametrized MobileOne model for faster inference.
docstr_tok: ["Method","returns","a","model","where","a","multi-branched","structure","used","in","training","is","re-parameterized","into","a","single","branch","for","inference",".","Returns",":","Reparametrized","MobileOne","model","for","faster","inference","."]
code: def get_exportable_model(self) -> nn.Module:
      """Method returns a model where a multi-branched structure
         used in training is re-parameterized into a single branch
          for inference.
  
      Returns:
          Reparametrized MobileOne model for faster inference.
      """
      # Avoid editing original graph
      model = copy.deepcopy(self)
      for module in model.modules():
          if hasattr(module, "reparameterize"):
              module.reparameterize()
      return model
  
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 4 for calling the MobileOne obj's underlying member method code with example usage: obj.get_exportable_model() and returns: model