latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.functional.lgamma
- tensorplay.functional.lgamma(input, *, out=None) Tensor[source]
Computes the natural logarithm of the absolute value of the gamma function on
input.- Parameters:
input (Tensor) – the input tensor.
- Keyword Arguments:
out (Tensor, optional) – the output tensor.
Example:
>>> a = tensorplay.arange(0.5, 2, 0.5) >>> tensorplay.lgamma(a) tensor([ 0.5724, 0.0000, -0.1208])
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

