Class ov::pass::GeluFusionWithTanh#
-
class GeluFusionWithTanh : public ov::pass::MatcherPass#
GeluFusion transformation replaces a sub-graph x * (0.5 * (1 + tanh([sqrt(2 / pi)] * [x + 0.044715^3]))) with a Gelu (Tanh) op.
This page is a nightly version. It may be incomplete or faulty in both content and functionality. Go to the most recent official documentation version, 2024.
Site Navigation
Section Navigation
GeluFusion transformation replaces a sub-graph x * (0.5 * (1 + tanh([sqrt(2 / pi)] * [x + 0.044715^3]))) with a Gelu (Tanh) op.