Definition at line 60 of file infer_ibackend.h.
◆ InferenceDone
Function wrapper for post inference processing.
Definition at line 66 of file infer_ibackend.h.
◆ InputsConsumed
Function wrapper called after the input buffer is consumed.
Definition at line 70 of file infer_ibackend.h.
◆ InputShapes
◆ InputShapeTuple
Tuple of layer name and dimensions including batch size.
Definition at line 83 of file infer_ibackend.h.
◆ LayersTuple
Tuple containing pointer to layer descriptions and the number of layers.
Definition at line 77 of file infer_ibackend.h.
◆ anonymous enum
◆ anonymous enum
◆ IBackend()
nvdsinferserver::IBackend::IBackend |
( |
| ) |
|
|
default |
◆ ~IBackend()
virtual nvdsinferserver::IBackend::~IBackend |
( |
| ) |
|
|
virtualdefault |
◆ enqueue()
Enqueue an array of input batches for inference.
This function adds a input to the inference processing queue of the backend. The post inference function and function to be called after consuming input buffer is provided.
- Parameters
-
[in] | inputs | List of input batch buffers |
[in] | stream | The CUDA stream to be used in inference processing. |
[in] | bufConsumed | Function to be called once input buffer is consumed. |
[in] | inferenceDone | Function to be called after inference. |
- Returns
- Execution status code.
◆ getInputLayers()
virtual LayersTuple nvdsinferserver::IBackend::getInputLayers |
( |
| ) |
const |
|
pure virtual |
Get the LayersTuple for input layers.
◆ getInputLayerSize()
virtual uint32_t nvdsinferserver::IBackend::getInputLayerSize |
( |
| ) |
const |
|
pure virtual |
Get the number of input layers.
◆ getInputTensorOrder()
virtual InferTensorOrder nvdsinferserver::IBackend::getInputTensorOrder |
( |
| ) |
const |
|
pure virtual |
Get the tensor order set for the input.
◆ getLayerInfo()
virtual const LayerDescription* nvdsinferserver::IBackend::getLayerInfo |
( |
const std::string & |
bindingName | ) |
const |
|
pure virtual |
Get the layer description from the layer name.
◆ getLayerSize()
virtual uint32_t nvdsinferserver::IBackend::getLayerSize |
( |
| ) |
const |
|
pure virtual |
Get the number of layers (input and output) for the model.
◆ getOutputLayers()
virtual LayersTuple nvdsinferserver::IBackend::getOutputLayers |
( |
| ) |
const |
|
pure virtual |
Get the LayersTuple for output layers.
◆ initialize()
Initialize the backend for processing.
- Returns
- Status code of the type NvDsInferStatus.
◆ isFirstDimBatch()
virtual bool nvdsinferserver::IBackend::isFirstDimBatch |
( |
| ) |
const |
|
pure virtual |
Check if the flag for first dimension being batch is set.
◆ maxBatchSize()
virtual int32_t nvdsinferserver::IBackend::maxBatchSize |
( |
| ) |
const |
|
pure virtual |
Get the configured maximum batch size for this backend.
◆ specifyInputDims()
Specify the input layers for the backend.
- Parameters
-
shapes | List of name and shapes of the input layers. |
- Returns
- Status code of the type NvDsInferStatus.
The documentation for this class was generated from the following file: