Class ov::op::v4::HSwish#

class HSwish : public ov::op::util::UnaryElementwiseArithmetic#

A HSwish Activation Function f(x) = x * min(max(x + 3, 0), 6) / 6 or f(x) = x * min(ReLU(x + 3), 6) / 6.

Public Functions

HSwish(const Output<Node> &arg)#

Constructs a HSwish (hard version of Swish) operation.

Parameters:

dataInput tensor

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.