class_docstr: NLLLoss
class_docstr_tok: ["NLLLoss"]
docstr: Returns definitions of module input ports.
          
docstr_tok: ["Returns","definitions","of","module","input","ports","."]
code: def input_types(self):
      """Returns definitions of module input ports."""
      return {
          "log_probs": NeuralType(("B", "T", "D"), LogprobsType()),
          "labels": NeuralType(("B", "T"), LabelsType()),
          "output_mask": NeuralType(
              ("B", "T"), MaskType(), optional=True
          ),
      }
  
imports: import torch
  from torch import nn
  from nemo.core.classes import Serialization, Typing, typecheck
  from nemo.core.neural_types import LabelsType, LogitsType, LogprobsType, LossType, MaskType, NeuralType
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling the NLLLoss obj's underlying member method code with example usage: obj.input_types() and returns: dict