Implementation of ModelParser for custom models.
This implementation will look for the function symbol "NvDsInferCreateModelParser" in the custom library handle passed to it. It will call the NvDsInferCreateModelParser to get an instance of the IModelParser implementation required to parse the user's custom model.
Definition at line 104 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.


Public Member Functions | |
| CustomModelParser (const NvDsInferContextInitParams &initParams, const std::shared_ptr< DlLibHandle > &handle) | |
| ~CustomModelParser () | |
| bool | isValid () const override |
| const char * | getModelName () const override |
| NvDsInferStatus | parseModel (nvinfer1::INetworkDefinition &network) override |
| bool | hasFullDimsSupported () const override |
| CustomModelParser (const NvDsInferContextInitParams &initParams, const std::shared_ptr< DlLibHandle > &handle) | |
| ~CustomModelParser () | |
| bool | isValid () const override |
| const char * | getModelName () const override |
| NvDsInferStatus | parseModel (nvinfer1::INetworkDefinition &network) override |
| bool | hasFullDimsSupported () const override |
Protected Attributes | |
| NvDsInferContextInitParams | m_ModelParams |
| std::shared_ptr< DlLibHandle > | m_LibHandle |
| nvdsinfer::CustomModelParser::CustomModelParser | ( | const NvDsInferContextInitParams & | initParams, |
| const std::shared_ptr< DlLibHandle > & | handle | ||
| ) |
|
inline |
Definition at line 110 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
| nvdsinfer::CustomModelParser::CustomModelParser | ( | const NvDsInferContextInitParams & | initParams, |
| const std::shared_ptr< DlLibHandle > & | handle | ||
| ) |
|
inline |
Definition at line 110 of file 9.1/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverride |
Definition at line 117 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
References isValid(), and nvdsinfer::safeStr().
|
inlineoverride |
Definition at line 117 of file 9.1/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
References isValid(), and nvdsinfer::safeStr().
|
inlineoverride |
Definition at line 123 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverride |
Definition at line 123 of file 9.1/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverridevirtual |
Implements nvdsinfer::BaseModelParser.
Definition at line 112 of file 9.1/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverridevirtual |
Implements nvdsinfer::BaseModelParser.
Definition at line 112 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
Referenced by getModelName().
|
override |
|
override |
|
protectedinherited |
Definition at line 70 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
protectedinherited |
Definition at line 69 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.