chainer.functions.lgamma

chainer.functions.lgamma(x)[source]

logarithm of gamma function.

Note

Forward computation in CPU can not be done if SciPy is not available.

Parameters

x (Variable or N-dimensional array) – Input variable.

Returns

Output variable.

Return type

Variable