Gelu
Arguments
- input
(N,*) tensor, where * means, any number of additional dimensions
- approximate
By default it's none, and applies element-wise x*pnorm(x), if 'tanh', then GELU is estimated. See GELU for more info.
Gelu
(N,*) tensor, where * means, any number of additional dimensions
By default it's none, and applies element-wise x*pnorm(x), if 'tanh', then GELU is estimated. See GELU for more info.