Rate this Page
★ ★ ★ ★ ★

torch.nn.functional.softsign#

torch.nn.functional.softsign(input) → Tensor[source]#

Applies element-wise, the function SoftSign(x)=x1+∣x∣\text{SoftSign}(x) = \frac{x}{1 + |x|}

See Softsign for more details.