code: def forward(self, input, target):
      labels = F.one_hot(target, num_classes=2).float()
      return F.binary_cross_entropy(input, labels)
  
imports: import torch.nn.functional
  from classy_vision.losses import ClassyLoss, register_loss
label_desc: Use image node_id 1 for calling the MyLoss obj's underlying member method code with example usage: obj.forward(input, target) and returns: F