torch.nn.functional.softshrink
-
torch.nn.functional.softshrink(input, lambd=0.5) → Tensor -
Применяет функцию мягкого сжатия поэлементно
См.
Softshrinkдля получения более подробной информации.
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.nn.functional.softshrink.html