Introduce IR v11 (#7787)
* Enabled support of IR v11 in IR frontend * Enabled serialization to v11 * Added indexes for Inputs/Outputs * Fixed typo * Fixed code style * Fixed deserialization tests * FIxed typo * Avoid changes in the original serialized function * Fixed TI tests * Removed version from the function and indexes from parameters/results * Restore function version * Clone function rt info * Removed v11 version
This commit is contained in:
1 parent
617a0b0b47
commit
3859990b1b
18 files changed
+641
-119
No files matched your search
@@ -203,7 +203,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, ngraph::pass::Serialize::Version::IR_V10, custom_opsets);
|
||||
ngraph::pass::Serialize serializer(xmlFile, binFile, custom_opsets);
|
||||
serializer.run_on_function(_function);
|
||||
|
||||
auto m_constants = binFile.str();
|
||||
|
||||
Reference in new issue
Block a user