Remove unused variable nodes

This commit is contained in:
Xuejun Zhai 2025-12-09 18:14:28 -08:00 committed by Mustafa Cavus
parent c9234b44cc
commit 9e3163e846
2 changed files with 0 additions and 3 deletions

View File

@ -62,7 +62,6 @@ GgmlOvDecoder::GgmlOvDecoder(ggml_cgraph * cgraph,
for (int node_n = 0; node_n < cgraph->n_nodes; node_n++) {
auto * cur_node = cgraph->nodes[node_n];
m_nodes.push_back(cur_node);
set_input_output(cur_node);
}
@ -82,7 +81,6 @@ GgmlOvDecoder::GgmlOvDecoder(ggml_cgraph * cgraph, std::map<std::string, std::sh
if (cur_node->op == GGML_OP_NONE) {
continue;
}
m_nodes.push_back(cur_node);
set_input_output(cur_node, true);
}
for (int node_n = 0; node_n < cgraph->n_nodes; node_n++) {

View File

@ -219,7 +219,6 @@ private:
void validate_cgraph() const;
ggml_cgraph * m_cgraph = nullptr;
std::vector<ggml_tensor *> m_nodes;
std::map<std::string, ggml_tensor *> m_inputs;
std::map<std::string, std::shared_ptr<ov::Node>> m_model_inputs;