Removed global opset mutex (#13501)

* Removed global opset mutex

* Fixed compilation

* Fixed IR frontend
This commit is contained in:
Ilya Churaev authored and GitHub committed 2022-10-18 07:28:43 +04:00
1 parent daa8aaa894
commit 0f3621ec9b
5 files changed
+39 -28

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ namespace ir {
class InputModel::InputModelIRImpl {
std::shared_ptr<ngraph::runtime::AlignedBuffer> m_weights;
std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr> m_extensions;
std::unordered_map<std::string, ngraph::OpSet> m_opsets;
std::unordered_map<std::string, ov::OpSet> m_opsets;
pugi::xml_node m_root;
pugi::xml_document m_xml_doc;
+2 -2
View File
@@ -62,7 +62,7 @@ class XmlDeserializer : public ov::AttributeVisitor {
public:
explicit XmlDeserializer(const pugi::xml_node& node,
const std::shared_ptr<ngraph::runtime::AlignedBuffer>& weights,
const std::unordered_map<std::string, ngraph::OpSet>& opsets,
const std::unordered_map<std::string, ov::OpSet>& opsets,
const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions,
std::unordered_map<std::string, std::shared_ptr<ov::op::util::Variable>>& variables,
size_t version)
@@ -183,7 +183,7 @@ private:
// -- DATA --
const pugi::xml_node m_node;
const std::shared_ptr<ngraph::runtime::AlignedBuffer>& m_weights;
const std::unordered_map<std::string, ngraph::OpSet>& m_opsets;
const std::unordered_map<std::string, ov::OpSet>& m_opsets;
const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& m_extensions;
std::unordered_map<std::string, std::shared_ptr<ov::op::util::Variable>>& m_variables;