Removed API GgmlOvDecoder::get_input_shape(const std::string & name)

This commit is contained in:
Xuejun Zhai 2025-12-04 06:28:21 -08:00 committed by Mustafa Cavus
parent 42ca27f714
commit acb8a01d0e
3 changed files with 0 additions and 8 deletions

View File

@ -735,10 +735,6 @@ ov::element::Type GgmlOvDecoder::get_ov_type(const ggml_tensor * tensor) {
}
}
ov::PartialShape GgmlOvDecoder::get_input_shape(const std::string & name) const {
return ov::PartialShape(get_shape(m_inputs.at(name)));
}
ov::PartialShape GgmlOvDecoder::get_input_shape(int node_idx, const std::string & name) const {
return ov::PartialShape(get_shape(m_node_info_list[node_idx].node_inputs.at(name)));
}

View File

@ -77,8 +77,6 @@ public:
GGML_UNUSED(name);
}
virtual ov::PartialShape get_input_shape(const std::string & name) const override;
virtual ov::PartialShape get_input_shape(int node_idx, const std::string & name) const override;
virtual std::vector<size_t> get_input_stride(int node_idx, const std::string & name) const override;

View File

@ -14,8 +14,6 @@ class GgmlDecoder : public DecoderBase {
public:
virtual ov::Any get_attribute(const std::string& name) const = 0;
virtual PartialShape get_input_shape(const std::string& name) const = 0;
virtual PartialShape get_input_shape(int node_idx, const std::string& name) const = 0;
virtual std::vector<size_t> get_input_stride(int node_idx, const std::string& name) const = 0;