

def c_code(self, node, name, inp, out, sub):
    (x,) = inp
    (z,) = out
    if (node.inputs[0].type in complex_types):
        raise NotImplementedError('type not supported', type)
    return ('%(z)s = erf(%(x)s);' % locals())

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/scalar/basic_scipy.py Erf.c_code/original