Public Types | Public Member Functions | Data Fields
ngraph::pass::Serialize Class Reference

Serialize transformation converts ngraph::Function into IR files. More...

#include <serialize.hpp>

Inheritance diagram for ngraph::pass::Serialize:

Public Types

enum class  Version { IR_V10 }
 

Public Member Functions

bool run_on_function (std::shared_ptr< ngraph::Function > f) override
 
 Serialize (std::ostream &xmlFile, std::ostream &binFile, Version version=Version::IR_V10, std::map< std::string, ngraph::OpSet > custom_opsets={})
 
 Serialize (const std::string &xmlPath, const std::string &binPath, Version version=Version::IR_V10, std::map< std::string, ngraph::OpSet > custom_opsets={})
 

Data Fields

 NGRAPH_RTTI_DECLARATION
 

Detailed Description

Serialize transformation converts ngraph::Function into IR files.

Attention
  • dynamic shapes are not supported
  • order of generated layers in xml file is ngraph specific (given by get_ordered_ops()); MO generates file with different order, but they are logically equivalent

The documentation for this class was generated from the following file: