openvino.runtime.opset6.swish#

openvino.runtime.opset6.swish(data: Node | int | float | ndarray, beta: Node | int | float | ndarray | None = None, name: str | None = None) Node#

Return a node which performing Swish activation function Swish(x, beta=1.0) = x * sigmoid(x * beta)).

Parameters:

data – Tensor with input data floating point type.

Returns:

The new node which performs Swish