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 99 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 105 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 105 of file 9.0/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverride |
Definition at line 112 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
References isValid(), and nvdsinfer::safeStr().
|
inlineoverride |
Definition at line 112 of file 9.0/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
References isValid(), and nvdsinfer::safeStr().
|
inlineoverride |
Definition at line 118 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverride |
Definition at line 118 of file 9.0/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverridevirtual |
Implements nvdsinfer::BaseModelParser.
Definition at line 107 of file 9.0/sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
inlineoverridevirtual |
Implements nvdsinfer::BaseModelParser.
Definition at line 107 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
Referenced by getModelName().
|
override |
|
override |
|
protectedinherited |
Definition at line 65 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.
|
protectedinherited |
Definition at line 64 of file sources/libs/nvdsinfer/nvdsinfer_model_builder.h.