remove unused API GgmlOvDecoder::get_output_names()

This commit is contained in:
Xuejun Zhai 2025-12-03 19:19:38 -08:00 committed by Mustafa Cavus
parent 8f4ee4eee2
commit 497964afbb
3 changed files with 0 additions and 9 deletions

View File

@ -134,7 +134,6 @@ void GgmlOvDecoder::set_input_output(ggml_tensor * node, bool naive) {
node_output = node->view_src;
}
m_output_names.push_back(node_output_name);
m_outputs[node_output_name] = node_output;
current_node_info.node = node;
@ -789,10 +788,6 @@ ov::element::Type GgmlOvDecoder::get_output_type(const std::string & name) const
return get_ov_type(m_outputs.at(name));
}
std::vector<std::string> GgmlOvDecoder::get_output_names() const {
return m_output_names;
}
std::vector<std::string> GgmlOvDecoder::get_output_names(int node_idx) const {
return {m_node_info_list[node_idx].node_output_name};
}

View File

@ -119,8 +119,6 @@ public:
virtual int32_t * get_output_op_params(int node_idx) const override;
virtual std::vector<std::string> get_output_names() const override;
virtual std::vector<std::string> get_output_names(int node_idx) const override;
virtual const std::string & get_op_type() const override;

View File

@ -51,8 +51,6 @@ public:
virtual int32_t * get_output_op_params(int node_idx) const = 0;
virtual std::vector<std::string> get_output_names() const = 0;
virtual std::vector<std::string> get_output_names(int node_idx) const = 0;
virtual const std::string& get_op_type() const = 0;