gelu

opennmt.layers.gelu(x)[source]

Gaussian Error Linear Unit activation function described in https://arxiv.org/abs/1606.08415.