code: def _create_loss_function(self):
      copy_to_gpu = is_on_gpu(self._losses)
      self._losses.append(
          nn.BCEWithLogitsLoss(reduction=self._reduction)
      )
      if copy_to_gpu:
          self._losses.cuda()
      return self
  
file_path: vissl/vissl/losses/bce_logits_multiple_output_single_target.py
imports: from typing import List, Union
  import torch
  from classy_vision.generic.util import is_on_gpu
  from classy_vision.losses import ClassyLoss, register_loss
  from torch import nn
  from vissl.config import AttrDict
label_desc: Use image node_id 3 for calling the BCELogitsMultipleOutputSingleTargetLoss obj's underlying member method code with example usage: obj._create_loss_function() and returns: self