remove unused API get_output_shape(const std::string & name)
This commit is contained in:
parent
497964afbb
commit
f516db1db5
|
|
@ -774,11 +774,6 @@ std::vector<std::string> GgmlOvDecoder::get_input_names(int node_idx) const {
|
|||
return m_node_info_list[node_idx].node_inputs_names;
|
||||
}
|
||||
|
||||
ov::PartialShape GgmlOvDecoder::get_output_shape(const std::string & name) const {
|
||||
auto * ggml_tensor = m_outputs.at(name);
|
||||
return ov::PartialShape(get_shape(ggml_tensor));
|
||||
}
|
||||
|
||||
ov::PartialShape GgmlOvDecoder::get_output_shape(int node_idx) const {
|
||||
auto * ggml_tensor = m_node_info_list[node_idx].node_output;
|
||||
return ov::PartialShape(get_shape(ggml_tensor));
|
||||
|
|
|
|||
|
|
@ -105,8 +105,6 @@ public:
|
|||
|
||||
virtual std::vector<std::string> get_input_names(int node_idx) const override;
|
||||
|
||||
virtual ov::PartialShape get_output_shape(const std::string & name) const override;
|
||||
|
||||
virtual ov::PartialShape get_output_shape(int node_idx) const override;
|
||||
|
||||
virtual ov::element::Type get_output_type(const std::string & name) const override;
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@ public:
|
|||
|
||||
virtual std::vector<std::string> get_input_names(int node_idx) const = 0;
|
||||
|
||||
virtual PartialShape get_output_shape(const std::string& name) const = 0;
|
||||
|
||||
virtual PartialShape get_output_shape(int node_idx) const = 0;
|
||||
|
||||
virtual element::Type get_output_type(const std::string& name) const = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue