We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b1976a + a69cbf7 commit cb8c270Copy full SHA for cb8c270
onnxruntime/core/providers/openvino/ov_versions/capability.cc
@@ -181,7 +181,7 @@ std::vector<std::unique_ptr<ComputeCapability>> GetCapability::Execute() {
181
omit_subgraph = false;
182
} else if (j < total_clusters - 1) {
183
bool append_node = false;
184
- while (j < total_clusters && !append_node) {
+ while (j < total_clusters - 1 && !append_node) {
185
j = j + 1;
186
append_node = AddTrivialClusterToNextClusterIfConnected(graph_viewer_, index, connected_clusters[j]);
187
}
0 commit comments