torch.nn.functional.hardsigmoid¶
- torch.nn.functional.hardsigmoid(input, inplace=False)[source]¶
Applies the element-wise function
- Parameters:
inplace (bool) – If set to
True
, will do this operation in-place. Default:False
- Return type:
See
Hardsigmoid
for more details.