NVIDIA DeepStream SDK API Reference

6.4 Release
nvdsinfer::UffModelParser Class Reference

Detailed Description

Implementation of ModelParser for UFF models derived from BaseModelParser.

Manages resources internally required for parsing UFF models.

Definition at line 99 of file nvdsinfer_model_builder.h.

Inheritance diagram for nvdsinfer::UffModelParser:
Collaboration diagram for nvdsinfer::UffModelParser:

Data Structures

struct  ModelParams
 

Public Member Functions

 UffModelParser (const NvDsInferContextInitParams &initParams, const std::shared_ptr< DlLibHandle > &handle=nullptr)
 
 ~UffModelParser () override
 
NvDsInferStatus parseModel (nvinfer1::INetworkDefinition &network) override
 
bool isValid () const override
 
const char * getModelName () const override
 
bool hasFullDimsSupported () const override
 

Protected Member Functions

NvDsInferStatus initParser ()
 

Protected Attributes

ModelParams m_ModelParams
 
UniquePtrWDestroy< nvuffparser::IUffParser > m_UffParser
 
std::shared_ptr< DlLibHandlem_LibHandle
 

Constructor & Destructor Documentation

◆ UffModelParser()

nvdsinfer::UffModelParser::UffModelParser ( const NvDsInferContextInitParams initParams,
const std::shared_ptr< DlLibHandle > &  handle = nullptr 
)

◆ ~UffModelParser()

nvdsinfer::UffModelParser::~UffModelParser ( )
override

Member Function Documentation

◆ getModelName()

const char* nvdsinfer::UffModelParser::getModelName ( ) const
inlineoverride

◆ hasFullDimsSupported()

bool nvdsinfer::UffModelParser::hasFullDimsSupported ( ) const
inlineoverride

Definition at line 121 of file nvdsinfer_model_builder.h.

◆ initParser()

NvDsInferStatus nvdsinfer::UffModelParser::initParser ( )
protected

◆ isValid()

bool nvdsinfer::UffModelParser::isValid ( ) const
inlineoverridevirtual

Implements nvdsinfer::BaseModelParser.

Definition at line 116 of file nvdsinfer_model_builder.h.

References m_UffParser.

◆ parseModel()

NvDsInferStatus nvdsinfer::UffModelParser::parseModel ( nvinfer1::INetworkDefinition &  network)
override

Field Documentation

◆ m_LibHandle

std::shared_ptr<DlLibHandle> nvdsinfer::BaseModelParser::m_LibHandle
protectedinherited

Definition at line 65 of file nvdsinfer_model_builder.h.

◆ m_ModelParams

ModelParams nvdsinfer::UffModelParser::m_ModelParams
protected

Definition at line 125 of file nvdsinfer_model_builder.h.

Referenced by getModelName().

◆ m_UffParser

UniquePtrWDestroy<nvuffparser::IUffParser> nvdsinfer::UffModelParser::m_UffParser
protected

Definition at line 126 of file nvdsinfer_model_builder.h.

Referenced by isValid().


The documentation for this class was generated from the following file: