Fix TupleUnpackInBodyReplacer transformation to run inside body (#20681)
This commit is contained in:
parent
0d458f086d
commit
bec011cf1d
@ -176,7 +176,7 @@ bool TupleUnpackInBodyReplacer::run_on_model(const std::shared_ptr<Model>& model
|
||||
}
|
||||
if (const auto multiSubGraph = ov::as_type_ptr<ov::op::util::MultiSubGraphOp>(op)) {
|
||||
for (size_t i = 0; i < multiSubGraph->get_internal_subgraphs_size(); i++)
|
||||
result = result || run_on_model(multiSubGraph->get_function(i));
|
||||
result = run_on_model(multiSubGraph->get_function(i)) || result;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user