Skip to content

Commit

Permalink
fix: Eric changes for Running subgraphs with model inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitm3k authored and jatinwadhwa921 committed Jan 17, 2025
1 parent a53765c commit f6b87eb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions onnxruntime/core/providers/openvino/ov_versions/capability.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,16 +166,6 @@ std::vector<std::unique_ptr<ComputeCapability>> GetCapability::Execute() {
// Omitting zero dim subgraphs
for (auto index : this_cluster) {
const Node* node = graph_viewer_.GetNode(index);
if (data_ops_->DoNotOmitSubGraph(node->OpType())) {
for (const auto& input : node->InputDefs()) {
const auto& input_name = input->Name();
auto it = find(cluster_graph_inputs.begin(), cluster_graph_inputs.end(), input_name);
if (it != cluster_graph_inputs.end()) {
omit_subgraph = true;
break;
}
}
}

if (node->OpType() == "Conv" || node->OpType() == "Identity") {
const auto& output_name = node->OutputDefs()[0]->Name();
Expand Down

0 comments on commit f6b87eb

Please sign in to comment.