Tanh
torch_tanh(self)
self
Returns a new tensor with the hyperbolic tangent of the elements of input.
input
if (torch_is_installed()) { a = torch_randn(c(4)) a torch_tanh(a) }
Useful links
Downloads (last 30 days):