Skip to contents

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

Usage

nnf_tanhshrink(input)

Arguments

input

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