openvino.runtime.opset8.gelu¶
-
openvino.runtime.opset8.
gelu
(data: openvino.pyopenvino.Node, approximation_mode: str, name: Optional[str] = None) → openvino.pyopenvino.Node¶ Return a node which performs Gelu activation function.
- Parameters
data – The node with data tensor.
approximation_mode – defines which approximation to use (‘tanh’ or ‘erf’)
name – Optional output node name.
- Returns
The new node performing a Gelu activation with the input tensor.