API symbolsnn
Copy
tensorplay.nn.functional.tanh
- tensorplay.nn.functional.tanh(input) Tensor[source]
Applies element-wise \(\text{Tanh}(x) = \frac{\exp(x) - \exp(-x)}{\exp(x) + \exp(-x)}\)
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
