openvino.runtime.opset12.swish

openvino.runtime.opset12.swish(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], beta: Optional[Union[openvino._pyopenvino.Node, int, float, numpy.ndarray]] = None, name: Optional[str] = None) openvino._pyopenvino.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