docstr: Input types definitions for Contrastive.
          
docstr_tok: ["Input","types","definitions","for","Contrastive","."]
code: def input_types(self):
      """Input types definitions for Contrastive."""
      return {
          "spec_masks": NeuralType(("B", "D", "T"), SpectrogramType()),
          "decoder_outputs": NeuralType(
              ("B", "T", "D"), LogprobsType()
          ),
          "targets": NeuralType(("B", "T"), LabelsType()),
          "decoder_lengths": NeuralType(
              tuple("B"), LengthsType(), optional=True
          ),
          "target_lengths": NeuralType(
              tuple("B"), LengthsType(), optional=True
          ),
      }
  
file_path: NeMo/nemo/collections/asr/losses/ssl_losses/mlm.py
imports: import torch
  import torch.nn.functional
  from torch import nn
  from nemo.core import Loss, typecheck
  from nemo.core.neural_types import LabelsType, LengthsType, LogprobsType, LossType, NeuralType, SpectrogramType
label_desc: Use image node_id 1 for calling the MLMLoss obj's underlying member method code with example usage: obj.input_types() and returns: dict