Removed API GgmlOvDecoder::get_input_shape(const std::string & name)
This commit is contained in:
parent
42ca27f714
commit
acb8a01d0e
|
|
@ -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)));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue