NVIDIA DeepStream SDK API Reference

6.4 Release
nvdsinfer::CaffeModelParser Class Reference

Detailed Description

Implementation of ModelParser for caffemodels derived from BaseModelParser.

Manages resources internally required for parsing caffemodels.

Definition at line 72 of file nvdsinfer_model_builder.h.

Inheritance diagram for nvdsinfer::CaffeModelParser:
Collaboration diagram for nvdsinfer::CaffeModelParser:

Public Member Functions

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

Protected Attributes

NvDsInferContextInitParams m_ModelParams
 
std::shared_ptr< DlLibHandlem_LibHandle
 

Constructor & Destructor Documentation

◆ CaffeModelParser()

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

◆ ~CaffeModelParser()

nvdsinfer::CaffeModelParser::~CaffeModelParser ( )
override

Member Function Documentation

◆ getModelName()

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

Definition at line 79 of file nvdsinfer_model_builder.h.

◆ hasFullDimsSupported()

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

Definition at line 80 of file nvdsinfer_model_builder.h.

◆ isValid()

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

Implements nvdsinfer::BaseModelParser.

Definition at line 78 of file nvdsinfer_model_builder.h.

◆ parseModel()

NvDsInferStatus nvdsinfer::CaffeModelParser::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

NvDsInferContextInitParams nvdsinfer::BaseModelParser::m_ModelParams
protectedinherited

Definition at line 64 of file nvdsinfer_model_builder.h.


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