class_docstr: An e2e wrapper of inference model.
      
code: def __init__(self, config, model, video_encoder, **kwargs):
      super().__init__()
      self.max_video_len = config.dataset.max_video_len
      self.video_encoder = video_encoder
      self.model = model
  
imports: import torch
  from torch import nn
  from .None import transformermodel
label_desc: Use image node_id 2 to create a new MMPTModel object from inherited base classes: nn with example: obj = MMPTModel(config, model, video_encoder)