Moved serialization pass to public (#7862)
* Moved serialization pass to public * Fixed unit tests * Fixed code style * Fixed tests * Fix link * Fix kmb * Fixed build * Removed InferenceEngine::Core from ngraph tests * Add missed models * Restore IR weights * Fixed code style
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
#include "ie_icore.hpp"
|
||||
#include "ie_ngraph_utils.hpp"
|
||||
#include "openvino/core/except.hpp"
|
||||
#include "openvino/pass/serialize.hpp"
|
||||
#include "template/template_config.hpp"
|
||||
#include "template_itt.hpp"
|
||||
#include "template_plugin.hpp"
|
||||
#include "transformations/serialize.hpp"
|
||||
#include "transformations/utils/utils.hpp"
|
||||
|
||||
using namespace TemplatePlugin;
|
||||
@@ -205,7 +205,7 @@ void TemplatePlugin::ExecutableNetwork::Export(std::ostream& modelStream) {
|
||||
// Note: custom ngraph extensions are not supported
|
||||
std::map<std::string, ngraph::OpSet> custom_opsets;
|
||||
std::stringstream xmlFile, binFile;
|
||||
ngraph::pass::Serialize serializer(xmlFile, binFile, custom_opsets);
|
||||
ov::pass::Serialize serializer(xmlFile, binFile, custom_opsets);
|
||||
serializer.run_on_function(_function);
|
||||
|
||||
auto m_constants = binFile.str();
|
||||
|
||||
Reference in New Issue
Block a user