Base class for implementations of the BackendContext interface.
Implements functionality common to all backends.
Definition at line 208 of file sources/libs/nvdsinfer/nvdsinfer_backend.h.
◆ ~TrtBackendContext() [1/2]
| nvdsinfer::TrtBackendContext::~TrtBackendContext |
( |
| ) |
|
◆ TrtBackendContext() [1/2]
| nvdsinfer::TrtBackendContext::TrtBackendContext |
( |
std::unique_ptr< nvinfer1::IExecutionContext > && |
ctx, |
|
|
std::shared_ptr< TrtEngine > |
engine |
|
) |
| |
|
protected |
◆ ~TrtBackendContext() [2/2]
| nvdsinfer::TrtBackendContext::~TrtBackendContext |
( |
| ) |
|
◆ TrtBackendContext() [2/2]
| nvdsinfer::TrtBackendContext::TrtBackendContext |
( |
std::unique_ptr< nvinfer1::IExecutionContext > && |
ctx, |
|
|
std::shared_ptr< TrtEngine > |
engine |
|
) |
| |
|
protected |
◆ canSupportBatchDims() [1/2]
| bool nvdsinfer::TrtBackendContext::canSupportBatchDims |
( |
int |
bindingIdx, |
|
|
const NvDsInferBatchDims & |
batchDims |
|
) |
| |
|
overrideprotectedvirtual |
◆ canSupportBatchDims() [2/2]
| bool nvdsinfer::TrtBackendContext::canSupportBatchDims |
( |
int |
bindingIdx, |
|
|
const NvDsInferBatchDims & |
batchDims |
|
) |
| |
|
overrideprotectedvirtual |
◆ enqueueBuffer() [1/2]
◆ enqueueBuffer() [2/2]
◆ getLayerInfo() [1/2]
| const NvDsInferBatchDimsLayerInfo& nvdsinfer::TrtBackendContext::getLayerInfo |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ getLayerInfo() [2/2]
| const NvDsInferBatchDimsLayerInfo& nvdsinfer::TrtBackendContext::getLayerInfo |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ getMaxBatchDims() [1/2]
| virtual NvDsInferBatchDims nvdsinfer::TrtBackendContext::getMaxBatchDims |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ getMaxBatchDims() [2/2]
| virtual NvDsInferBatchDims nvdsinfer::TrtBackendContext::getMaxBatchDims |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ getMinBatchDims() [1/2]
| virtual NvDsInferBatchDims nvdsinfer::TrtBackendContext::getMinBatchDims |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ getMinBatchDims() [2/2]
| virtual NvDsInferBatchDims nvdsinfer::TrtBackendContext::getMinBatchDims |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ getNumBoundLayers() [1/2]
| int nvdsinfer::TrtBackendContext::getNumBoundLayers |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getNumBoundLayers() [2/2]
| int nvdsinfer::TrtBackendContext::getNumBoundLayers |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getOptBatchDims() [1/2]
| virtual NvDsInferBatchDims nvdsinfer::TrtBackendContext::getOptBatchDims |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ getOptBatchDims() [2/2]
| virtual NvDsInferBatchDims nvdsinfer::TrtBackendContext::getOptBatchDims |
( |
int |
bindingIdx | ) |
|
|
inlineoverrideprotectedvirtual |
◆ initialize() [1/2]
◆ initialize() [2/2]
◆ isOutputLayer() [1/2]
| bool nvdsinfer::TrtBackendContext::isOutputLayer |
( |
const std::string & |
bindingName | ) |
|
|
overrideprotectedvirtual |
◆ isOutputLayer() [2/2]
| bool nvdsinfer::TrtBackendContext::isOutputLayer |
( |
const std::string & |
bindingName | ) |
|
|
overrideprotectedvirtual |
◆ m_AllLayers
| std::vector< NvDsInferBatchDimsLayerInfo > nvdsinfer::TrtBackendContext::m_AllLayers |
|
protected |
◆ m_Context
| std::unique_ptr< nvinfer1::IExecutionContext > nvdsinfer::TrtBackendContext::m_Context |
|
protected |
◆ m_CudaEngine
| std::shared_ptr< TrtEngine > nvdsinfer::TrtBackendContext::m_CudaEngine |
|
protected |
◆ m_GpuId
| int nvdsinfer::TrtBackendContext::m_GpuId = -1 |
|
protected |
◆ sDLAExecutionMutex
| static std::mutex nvdsinfer::TrtBackendContext::sDLAExecutionMutex |
|
staticprotected |
The documentation for this class was generated from the following file: