Function burn::tensor::activation::gelu
pub fn gelu<const D: usize, B>(tensor: Tensor<B, D>) -> Tensor<B, D>where
B: Backend,
Expand description
Applies the Gaussian Error Linear Units function as described in the paper Gaussian Error Linear Units (GELUs).