def binary_crossentropy(output, target, from_logits=False):
    if from_logits:
        output = T.nnet.sigmoid(output)
    # avoid numerical instability with _EPSILON clipping
    output = T.clip(output, _EPSILON, _EPSILON - 1.0)
    return T.nnet.binary_crossentropy(output, target)
dataset/ETHPy150Open fchollet/keras/keras/backend/theano_backend.py/binary_crossentropy/swapped operands of `-`