def METHOD_NAME(self,
                        model_checkpoint: Optional[str] = None,
                        cfg_options: Optional[Dict] = None,
                        **kwargs) -> torch.nn.Module:
    """Build PyTorch model for mmrazor and execute post process for
    mmdeploy."""
    model = super().METHOD_NAME(model_checkpoint, cfg_options,
                                        **kwargs)
    if hasattr(model, 'post_process_for_mmdeploy'):
        model.post_process_for_mmdeploy()
    return model