On this page
torch.nn.functional.tanhshrink
torch.nn.functional.tanhshrink(input) → Tensor
[source]-
Applies element-wise,
See
Tanhshrink
for more details.
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.nn.functional.tanhshrink.html