class_docstr: Sums several losses into one.
  
  Args:
      num_inputs: number of input losses
      weights: a list of coefficient for merging losses
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())}
  
file_path: NeMo/nemo/collections/common/losses/aggregator.py
imports: from typing import List
  import torch
  from nemo.core.classes import Loss, typecheck
  from nemo.core.neural_types import LossType, NeuralType
label_desc: Use image node_id 2 for calling the AggregatorLoss obj's underlying member method code with example usage: obj.output_types() and returns: dict