View source: R/gen-namespace.R
torch_lgamma | R Documentation |
Lgamma
torch_lgamma(self)
self |
(Tensor) the input tensor. |
Computes the logarithm of the gamma function on input
.
\mbox{out}_{i} = \log \Gamma(\mbox{input}_{i})
if (torch_is_installed()) {
a = torch_arange(0.5, 2, 0.5)
torch_lgamma(a)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.