8 #include <ngraph/pass/graph_rewrite.hpp>
9 #include <transformations_visibility.hpp>
15 class TRANSFORMATIONS_API GeluFusion;
16 class TRANSFORMATIONS_API GeluFusionWithErfOne;
17 class TRANSFORMATIONS_API GeluFusionWithErfTwo;
18 class TRANSFORMATIONS_API GeluFusionWithErfThree;
30 NGRAPH_RTTI_DECLARATION;
41 NGRAPH_RTTI_DECLARATION;
52 NGRAPH_RTTI_DECLARATION;
62 NGRAPH_RTTI_DECLARATION;
64 add_matcher<ngraph::pass::GeluFusionWithErfOne>();
65 add_matcher<ngraph::pass::GeluFusionWithErfTwo>();
66 add_matcher<ngraph::pass::GeluFusionWithErfThree>();
GeluFusion transformation replaces a sub-graph (0.5 * x) * (1 + erf(x / sqrt(2))) with a Gelu op.
Definition: gelu_fusion.hpp:28
GeluFusion transformation replaces a sub-graph x * (0.5 * (1 + erf(x / sqrt(2))) with a Gelu op.
Definition: gelu_fusion.hpp:50
GeluFusion transformation replaces a sub-graph 0.5 * (x * (1 + erf(x / sqrt(2))) with a Gelu op.
Definition: gelu_fusion.hpp:39
GeluFusion transformation replaces various sub-graphs with a Gelu op.
Definition: gelu_fusion.hpp:60
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14