@staticmethod
def sigmoid_cross_entropy_with_logits(input, target):
    loss = ((torch.clamp(input, min=0) - (input * target)) + torch.log1p(torch.exp((- torch.abs(input)))))
    return loss
@staticmethod
def sigmoid_cross_entropy_with_logits(input, target):
    loss = ((torch.clamp(input, min=0) - (input * target)) + torch.log1p(torch.exp((- torch.abs(input)))))
    return loss