@@ -166,8 +166,8 @@ DQMatMulCWi::DQMatMulCWi(Context::Ref ctx) {
166
166
auto matched_node_cvtw = node_to_output.at (qcvtw).get_node_shared_ptr ();
167
167
auto matched_node_muls = node_to_output.at (qmuls).get_node_shared_ptr ();
168
168
auto matched_node_mmi = node_to_output.at (qmmi).get_node_shared_ptr ();
169
- auto matched_node_qcoeff_out = uat::_ (node_to_output).at_or_at_or_at (qcvtc, reshapec, qcoeff);
170
- auto matched_node_muls_out = uat::_ (node_to_output).at_or_at (qcvtm, qmuls);
169
+ auto & matched_node_qcoeff_out = uat::_ (node_to_output).at_or_at_or_at (qcvtc, reshapec, qcoeff);
170
+ auto & matched_node_muls_out = uat::_ (node_to_output).at_or_at (qcvtm, qmuls);
171
171
172
172
if (!ctx.get ().mm_dq_full ) {
173
173
const auto & matm_mul_out_shape = matched_matmul->get_output_shape (0 );
@@ -1432,7 +1432,7 @@ SliceLastMatmul::SliceLastMatmul() {
1432
1432
auto callback = [=](ov::pass::pattern::Matcher& m) {
1433
1433
auto & node_to_output = m.get_pattern_value_map ();
1434
1434
1435
- auto matched_out_matmul = node_to_output.at (matmul);
1435
+ auto & matched_out_matmul = node_to_output.at (matmul);
1436
1436
1437
1437
auto shape = matched_out_matmul.get_node ()->input (0 ).get_shape ();
1438
1438
@@ -1468,7 +1468,7 @@ SliceLastMatmulAdd::SliceLastMatmulAdd() {
1468
1468
auto callback = [=](ov::pass::pattern::Matcher& m) {
1469
1469
auto & node_to_output = m.get_pattern_value_map ();
1470
1470
1471
- auto matched_out_matmul = node_to_output.at (matmul);
1471
+ auto & matched_out_matmul = node_to_output.at (matmul);
1472
1472
1473
1473
auto shape = matched_out_matmul.get_node ()->input (0 ).get_shape ();
1474
1474
@@ -1504,7 +1504,7 @@ SliceLastMatmulTranspose::SliceLastMatmulTranspose() {
1504
1504
auto callback = [=](ov::pass::pattern::Matcher& m) {
1505
1505
auto & node_to_output = m.get_pattern_value_map ();
1506
1506
1507
- auto matched_out_matmul = node_to_output.at (matmul);
1507
+ auto & matched_out_matmul = node_to_output.at (matmul);
1508
1508
1509
1509
auto shape = matched_out_matmul.get_node ()->input (0 ).get_shape ();
1510
1510
@@ -1542,7 +1542,7 @@ SliceLastMatmulMultiply::SliceLastMatmulMultiply() {
1542
1542
auto callback = [=](ov::pass::pattern::Matcher& m) {
1543
1543
auto & node_to_output = m.get_pattern_value_map ();
1544
1544
1545
- auto matched_out_matmul = node_to_output.at (matmul);
1545
+ auto & matched_out_matmul = node_to_output.at (matmul);
1546
1546
1547
1547
auto shape = matched_out_matmul.get_node ()->input (0 ).get_shape ();
1548
1548
0 commit comments