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