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 May 29, 2024, 9:54 a.m.