torch.nn.functional.hardsigmoid
-
torch.nn.functional.hardsigmoid(input, inplace=False)[source] -
Поэлементное применение функции Hardsigmoid.
- Параметры:
-
inplace (bool) – Если установлено значение
True, операция будет выполняться на месте. По умолчанию:False - Тип возвращаемого значения:
Подробнее см. в описании
Hardsigmoid.
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.nn.functional.hardsigmoid.html