Log1p
Log1p
torch_log1p(self)
self |
(Tensor) the input tensor. |
Returns a new tensor with the natural logarithm of (1 + input
).
y_i = \log_{e} (x_i + 1)
This function is more accurate than torch_log
for small
values of input
if (torch_is_installed()) { a = torch_randn(c(5)) a torch_log1p(a) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.