nnf_tanhshrink {torch}R 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


[Package torch version 0.13.0 Index]