torch.nn.functional.hardswish
- torch.nn.functional.hardswish(input, inplace=False)[source][source]
Apply hardswish function, element-wise.
Follows implementation as described in the paper: Searching for MobileNetV3.
See
Hardswish
for more details.- Return type