Class ov::pass::Gelu7Downgrade¶
-
class Gelu7Downgrade : public ov::pass::MatcherPass¶
Gelu7Downgrade converts v7::Gelu operation to v2::Gelu unconditionally. This is done because only limited set of plugins support v7::Gelu which has an attribute specifying approximation mode. For other plugins the behaviour is to use v2 version of the operation which does not support the approximation mode.