class_docstr: Combination of MFM and MLM.
class_docstr_tok: ["Combination","of","MFM","and","MLM","."]
code: def __call__(
      self, video_logits, text_logits, video_label, text_label, **kwargs
  ):
      # loss for video.
      video_label = torch.zeros(
          (video_logits.size(0),),
          dtype=torch.long,
          device=video_logits.device,
      )
      masked_frame_loss = self.loss(video_logits, video_label)
  
      # loss for text.
      text_label = text_label.reshape(-1)
      labels_mask = text_label != -100
      selected_text_label = text_label[labels_mask]
      masked_lm_loss = self.loss(text_logits, selected_text_label)
      return masked_frame_loss + masked_lm_loss
  
imports: import torch
  from torch import nn
  from .loss import Loss
label_desc: Use image node_id 2 for calling the MFMMLM obj's underlying member method code with example usage: obj.__call__(video_logits, text_logits, video_label, text_label) and returns: unknown