Class ModelParser

Class Documentation

class ModelParser

ModelParser defined a base class to parse model.

Public Functions

ModelParser() = default

Constructor.

virtual ~ModelParser() = default

Destructor.

inline virtual api::FuncGraphPtr Parse(const converter::ConverterParameters &flags)

Method to parse model, which must be onnx/caffe/tf/tflite.

Parameters

flags[in] Define the basic parameters when converting, which defined in parser_context.h.

Returns

FuncGraph Pointer, which contains all information about the model.