class_docstr: A retrival wrapper using mm_encoder as both video/text backbone.
  TODO: move formally.
code: def forward(
      self,
      caps,
      cmasks,
      vfeats,
      vmasks,
      attention_mask=None,
      video_label=None,
      text_label=None,
      output_hidden_states=False,
      **kwargs,
  ):
      pooled_video = self.forward_video(
          vfeats, vmasks, caps, cmasks, output_hidden_states
      )
  
      pooled_text = self.forward_text(
          caps, cmasks, output_hidden_states
      )
  
      return {"pooled_video": pooled_video, "pooled_text": pooled_text}
  
imports: import torch
  from torch import nn
  from .None import transformermodel
label_desc: Use image node_id 1 for calling the MMFusionShare obj's underlying member method code with example usage: obj.forward(caps, cmasks, vfeats, vmasks, attention_mask, video_label, text_label, output_hidden_states) and returns: dict