Parameters
Member |
Type |
Default Value |
Description |
|---|---|---|---|
activationType |
ActivationType |
ACTIVATION_UNDEFINED |
Activation type.
|
scale |
float |
1.0f |
Scaling coefficient in the Swish activation function |
dim |
int32_t |
-1 |
For the SwiGLU forward and backward activation functions, split along the last dimension. That is, only -1 can be passed. |
geluMode |
GeLUMode |
TANH_MODE |
GELU model selection.
|
rsv[8] |
uint8_t |
{0} |
Reserved |
Parent topic: ActivationOperation