Fix error for naive

This commit is contained in:
XuejunZhai 2025-11-25 21:12:41 -08:00 committed by Mustafa Cavus
parent ae936519d2
commit 992dea73fd
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ GgmlOvDecoder::GgmlOvDecoder(ggml_cgraph * cgraph, std::map<std::string, std::sh
m_nodes.push_back(cur_node);
set_input_output(cur_node, true);
}
for (int node_n = 0; node_n < cgraph->n_nodes; node_n++) {
m_node_info_list[node_n].node_op_case = compute_op_case(m_node_info_list[node_n].node);
m_node_info_list[node_n].node_op_type = compute_op_type(m_node_info_list[node_n].node);
}
}
// Called in GgmlOvDecoder constructor. Two cases: 1. constructing a decoder for the whole graph;