torch.nn.functional.softplus
-
torch.nn.functional.softplus(input, beta=1, threshold=20) → Tensor -
Применяет поэлементно функцию .
Для повышения числовой устойчивости реализация переходит к линейной функции, когда .
См.
Softplusдля получения более подробной информации.
© 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.softplus.html