oneflow.tanh¶ oneflow.tanh(x: Tensor) → Tensor¶ The equation is: \[out = \frac{e^x-e^{-x}}{e^x+e^{-x}}\] See Tanh for more details.