GeluFastApproxΒΆ
A fast approximation to GELU (Sigmoid based).
Abstract Signature:
GeluFastApprox(x: Tensor)
PyTorch
API:
βStrategy: Macro '{x} * torch.sigmoid(1.702 * {x})'
A fast approximation to GELU (Sigmoid based).
Abstract Signature:
GeluFastApprox(x: Tensor)
β