HardSwish
Description
Applies the HardSwish function.
y=x * max(0, min(1, alpha * x + beta )), where alpha=1/6 and beta=0.5.
Input
One input:
x: tensor of type float16 or float.
Output
One output:
y: tensor of type float16 or float.
ONNX Opset Support
Opset v14/v15/v16/v17/v18
Parent topic: Operators Specifications of the AI Framework