

@staticmethod
@wraps(GSNFriendlyCost.cost)
def cost(target, output):
    return tensor.nnet.binary_crossentropy(output, target).sum(axis=1).mean()

dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/costs/autoencoder.py MeanBinaryCrossEntropy.cost/original