nnf_softsign: Softsign

Description Usage Arguments

View source: R/nnf-activation.R

Description

Applies element-wise, the function SoftSign(x) = x/(1 + |x|

Usage

1
nnf_softsign(input)

Arguments

input

(N,*) tensor, where * means, any number of additional dimensions


torch documentation built on Oct. 7, 2021, 9:22 a.m.