Implementation of ModelParser for ONNX models derived from BaseModelParser.
Manages resources internally required for parsing ONNX models.
Definition at line 72 of file nvdsinfer_model_builder.h.
Public Member Functions | |
OnnxModelParser (const NvDsInferContextInitParams &initParams, const std::shared_ptr< DlLibHandle > &handle=nullptr) | |
~OnnxModelParser () override=default | |
bool | isValid () const override |
const char * | getModelName () const override |
NvDsInferStatus | parseModel (nvinfer1::INetworkDefinition &network) override |
bool | hasFullDimsSupported () const override |
Protected Attributes | |
std::unique_ptr< nvonnxparser::IParser > | m_OnnxParser |
NvDsInferContextInitParams | m_ModelParams |
std::shared_ptr< DlLibHandle > | m_LibHandle |
|
inline |
Definition at line 75 of file nvdsinfer_model_builder.h.
|
overridedefault |
|
inlineoverride |
Definition at line 81 of file nvdsinfer_model_builder.h.
|
inlineoverride |
Definition at line 83 of file nvdsinfer_model_builder.h.
|
inlineoverridevirtual |
Implements nvdsinfer::BaseModelParser.
Definition at line 80 of file nvdsinfer_model_builder.h.
|
override |
|
protectedinherited |
Definition at line 65 of file nvdsinfer_model_builder.h.
|
protectedinherited |
Definition at line 64 of file nvdsinfer_model_builder.h.
|
protected |
Definition at line 89 of file nvdsinfer_model_builder.h.