class_docstr: BCEWithLogitsLoss
  
  https://pytorch.org/docs/1.9.1/generated/torch.nn.BCEWithLogitsLoss.html
class_docstr_tok: ["BCEWithLogitsLoss","https",":","\/\/pytorch.org\/docs\/1.9.1\/generated\/torch.nn.BCEWithLogitsLoss.html"]
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 {
          "logits": NeuralType(
              ["B"] + ["ANY"] * (self._logits_dim - 1), LogitsType()
          ),
          "labels": [
              NeuralType(
                  ["B"] + ["ANY"] * (self._logits_dim - 2), LabelsType()
              )
          ],
          "loss_mask": NeuralType(
              ["B"] + ["ANY"] * (self._logits_dim - 2),
              MaskType(),
              optional=True,
          ),
      }
  
file_path: NeMo/nemo/collections/common/losses/bce_logits_loss.py
imports: from typing import List
  import torch
  from torch import nn
  from nemo.core.classes import Serialization, Typing, typecheck
  from nemo.core.neural_types import LabelsType, LogitsType, LossType, MaskType, NeuralType
label_desc: Use image node_id 1 for calling the BCEWithLogitsLoss obj's underlying member method code with example usage: obj.input_types() and returns: dict