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 Aug. 21, 2025, 5:50 p.m.