class_docstr: NLLLoss
class_docstr_tok: ["NLLLoss"]
docstr: Returns definitions of module output ports.
          
docstr_tok: ["Returns","definitions","of","module","output","ports","."]
code: def output_types(self):
      """Returns definitions of module output ports."""
      return {"loss": NeuralType(elements_type=LossType())}
  
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 2 for calling the NLLLoss obj's underlying member method code with example usage: obj.output_types() and returns: dict