class_docstr: Binary loss for ASV Spoofing.
code: def __init__(
      self,
      weight: float = 1.0,
  ):
      super().__init__()
      self.weight = weight
      self.sigmoid = torch.nn.Sigmoid()
      self.loss = torch.nn.BCELoss(reduction="mean")
  
imports: import torch
  from espnet2.asvspoof.loss.abs_loss import AbsASVSpoofLoss
  from espnet.nets.pytorch_backend.nets_utils import to_device
label_desc: Use image node_id 1 to create a new ASVSpoofBinaryLoss object from inherited base classes: AbsASVSpoofLoss with example: obj = ASVSpoofBinaryLoss(weight)