def log_losses(y, t, eps=1e-15):
    y = T.clip(y, eps, 1 - eps)
    losses = -T.sum(t * T.log(y), axis=1)
    return losses
cross entropy loss per example, summed over classes
dataset/ETHPy150Open benanne/kaggle-ndsb/nn_plankton.py/log_losses