Class ov::pass::SkipGatherBeforeTransposeAndReshape#
-
class SkipGatherBeforeTransposeAndReshape : public ov::pass::MatcherPass#
SkipGatherBeforeTransposeAndReshape transformation removes Gather from the Gather->Transpose->Reshape sequence in case when input has batch=1 and gather has axis=0 and indices={0}. Also, this transformation corrects a transpose constant to save semantic.