File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
onnxruntime/core/providers/openvino/ov_versions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,13 +170,13 @@ std::vector<std::unique_ptr<ComputeCapability>> GetCapability::Execute() {
170
170
for (auto this_cluster : connected_clusters) {
171
171
bool omit_subgraph = false ;
172
172
173
- auto id = this_cluster.at (0 );
173
+ // auto id = this_cluster.at(0);
174
174
if (this_cluster.size () == 1 ) {
175
175
// check next cluster
176
176
auto index = this_cluster.at (0 );
177
177
if (graph_viewer_.GetNode (index)->OpType () == " EPContext" ) {
178
178
omit_subgraph=false ;
179
- } else if (cluster_index < this_cluster .size ()-1 ) {
179
+ } else if (cluster_index < connected_clusters .size ()-1 ) {
180
180
bool append_node = AddTrivialClusterToNextClusterIfConnected (graph_viewer_, index, connected_clusters[cluster_index+1 ]);
181
181
if (append_node) {
182
182
connected_clusters[cluster_index+1 ].emplace_back (index);
You can’t perform that action at this time.
0 commit comments