class_docstr: Balanced binary cross-entropy loss.
  
  https://arxiv.org/pdf/1504.06375.pdf (Formula 2)
code: def forward(self, output: Tensor, target: Tensor) -> Tensor:
      return balanced_binary_cross_entropy_with_logits(
          output,
          target,
          gamma=self.gamma,
          ignore_index=self.ignore_index,
          reduction=self.reduction,
      )
  
file_path: pytorch-toolbelt/pytorch_toolbelt/losses/balanced_bce.py
imports: from typing import Optional
  import torch
  import torch.nn.functional
  from torch import nn, Tensor
label_desc: Use image node_id 2 for calling the BalancedBCEWithLogitsLoss obj's underlying member method code with example usage: obj.forward(output, target) and returns: balanced_binary_cross_entropy_with_logits