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 Oct. 24, 2022, 5:08 p.m.