class_docstr: Discriminator loss for the GANomaly model.
code: def __init__(self) -> None:
      super().__init__()
  
      self.loss_bce = nn.BCELoss()
  
file_path: anomalib/src/anomalib/models/ganomaly/loss.py
imports: from __future__ import annotations
  import torch
  from torch import Tensor, nn
label_desc: Use image node_id 1 to create a new DiscriminatorLoss object from inherited base classes: nn with example: obj = DiscriminatorLoss()