Class ov::pass::NopSliceBeforeGatherElements#

class NopSliceBeforeGatherElements : public ov::pass::MatcherPass#

NopSliceBeforeGatherElements eliminates slice before GElements if slicing from 0 It is valid since GatherElements doesn’t support negative indices and Slice won’t affect indexing of elements in the original tensor that GatherElements would like to take.