

def c_code(self, node, name, inputs, outputs, sub):
    (x,) = inputs
    (z,) = outputs
    if (node.inputs[0].type in float_types):
        return ('%(z)s = tgamma(%(x)s);' % locals())
    raise NotImplementedError('only floating point is implemented')

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