Class ConverterContext
- Defined in File converter_context.h 
Class Documentation
- 
class ConverterContext
- ConverterContext defined is to set the basic information of the exported model. - Public Functions - 
ConverterContext() = default
- Constructor. 
 - 
~ConverterContext() = default
- Destructor. 
 - Public Static Functions - 
static inline void SetGraphOutputTensorNames(const std::vector<std::string> &output_names)
- Static method to set exported model's output name as needed by users. - 参数
- output_names – [in] Define model's output name, the order of which is consistent with the original model. 
 
 - 
static inline std::vector<std::string> GetGraphOutputTensorNames()
- Static method to obtain the outputs' name. - 返回
- the outputs' name. 
 
 - 
static inline std::map<std::string, std::string> GetConfigInfo(const std::string §ion)
- Static method to get configure information which is used only by external extension. - 参数
- section – [in] Define config section name. 
- 返回
- config key-value map. 
 
 
- 
ConverterContext() = default