nnf_tanhshrink: Tanhshrink

View source: R/nnf-activation.R

nnf_tanhshrinkR Documentation

Tanhshrink

Description

Applies element-wise, Tanhshrink(x) = x - Tanh(x)

Usage

nnf_tanhshrink(input)

Arguments

input

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


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