Function dfdx::tensor_ops::gelu

source ·
pub fn gelu<S: Shape, E: Dtype, D: UnaryKernel<FastGeLUKernelOp, E>, T: Tape<E, D>>(
    t: Tensor<S, E, D, T>
) -> Tensor<S, E, D, T>
👎Deprecated since 0.12.0: Use fast_gelu instead
Expand description

Use fast_gelu instead