GELU
GELU#
Versioned name: GELU-1
Category: Activation
Short description: Reference
OpenVINO description: This OP is as same as OpenVINO OP
Detailed description: Reference
Attributes: Gelu operation has no attributes.
Mathematical Formulation \(Gelu(x)=x*Φ(x)\), where \(Φ(x)\) is the Cumulative Distribution Function for Gaussian Distribution. The following equivalent combination is recognized and fused into single Gelu op:
Similarly, the following Gelu approximation (typical for the TensorFlow*) is recognized and fused into single Gelu op
Inputs:
1: Multidimensional input tensor. Required.
Type: T
Outputs
1: Result of GELU function applied to the input tensor x. Required.
Type: T
Types:
T: f32, f16, bf16.
Note: Inputs and outputs have the same data type denoted by T. For example, if input is f32 tensor, then all other tensors have f32 data type.