def sigmoid(x, computeGrad = False):
    if (not computeGrad): 
        f = gp.logistic(x)
        return f

    g = x * (x-1.)
    return g
dataset/ETHPy150Open amaas/stanford-ctc/py-simple-hybrid/nnet.py/sigmoid/swapped operands of `-`