openvino.runtime.opset7.gelu¶
- openvino.runtime.opset7.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.