openvino.runtime.opset3.gelu(node: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) openvino._pyopenvino.Node

Perform Gaussian Error Linear Unit operation element-wise on data from input node.

Computes GELU function:

f[ f(x) = 0.5cdot xcdot(1 + erf( dfrac{x}{sqrt{2}}) f]

For more information refer to [Gaussian Error Linear Unit (GELU)](>)

  • node – Input tensor. One of: input node, array or scalar.

  • name – Optional output node name.


The new node performing a GELU operation on its input data element-wise.