Class ov::pass::EliminateSliceBeforeGatherElements#

class EliminateSliceBeforeGatherElements : public ov::pass::MatcherPass#

EliminateSliceBeforeGatherElements 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.