TensorPlay
API symbolsnn
Copy
View MarkdownDownload .md

tensorplay.nn.functional.tanhshrink

tensorplay.nn.functional.tanhshrink(input) Tensor[source]

Applies element-wise, \(\text{Tanhshrink}(x) = x - \text{Tanh}(x)\)

See Tanhshrink for more details.

Ask DeepWiki