Class ov::pass::GeluFusionWithTanhNoPower2#
-
class GeluFusionWithTanhNoPower2 : public ov::pass::MatcherPass#
GeluFusion transformation replaces a sub-graph x * (0.5 * (1 + tanh([sqrt(2 / pi)] * [x + 0.044715 * x * x * x]))) with a Gelu (Tanh) op.
Site Navigation
Section Navigation
GeluFusion transformation replaces a sub-graph x * (0.5 * (1 + tanh([sqrt(2 / pi)] * [x + 0.044715 * x * x * x]))) with a Gelu (Tanh) op.