ngraph.opset7.swish

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