def bceloss(inputs, target):
    return (- (np.log((1 - expit(inputs))) + (target * inputs)).mean())
def bceloss(inputs, target):
    return (- (np.log((1 - expit(inputs))) + (target * inputs)).mean())