Learn R Programming

torch (version 0.14.2)

nnf_softsign: 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