Add pass to rewrite gelu as fast gelu (#1299)
Rewrite_gelu pass replaces the gelu formula of x * (1/2) * (1 + erf(x/sqrt(2))) with the sigmoid approximation of x * Sigmoid(x * 1.702)
Showing
src/rewrite_gelu.cpp
0 → 100644
test/rewrite_gelu_test.cpp
0 → 100644
Please register or sign in to comment