nnf_softsign: Softsign

View source: R/nnf-activation.R

nnf_softsignR Documentation

Softsign

Description

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

Usage

nnf_softsign(input)

Arguments

input

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


torch documentation built on June 7, 2023, 6:19 p.m.