Class ov::pass::ReshapeSinkingMatMul#
-
class ReshapeSinkingMatMul : public ov::pass::MatcherPass#
ReshapeSinkingMatMul transformation looks for MatMul followed by optional Add surrounded with Reshape operations which are only needed to merge and unmerge dimensions into MatMuls batch. In case of success upscales MatMul to work with multidimensional batch and updates Reshape operators to make batch propagate through freely.