Skip to content

Commit b1bc6fe

Browse files
zhaixuejun1993cavusmustafa
authored andcommitted
Fix error for naive
1 parent 5d433c8 commit b1bc6fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ggml/src/ggml-openvino/ggml-decoder.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ GgmlOvDecoder::GgmlOvDecoder(ggml_cgraph * cgraph, std::map<std::string, std::sh
7878
m_nodes.push_back(cur_node);
7979
set_input_output(cur_node, true);
8080
}
81+
for (int node_n = 0; node_n < cgraph->n_nodes; node_n++) {
82+
m_node_info_list[node_n].node_op_case = compute_op_case(m_node_info_list[node_n].node);
83+
m_node_info_list[node_n].node_op_type = compute_op_type(m_node_info_list[node_n].node);
84+
}
8185
}
8286

8387
// Called in GgmlOvDecoder constructor. Two cases: 1. constructing a decoder for the whole graph;

0 commit comments

Comments
 (0)