Definition at line 54 of file trt_inference.h.
◆ TRT_Context()
TRT_Context::TRT_Context |
( |
| ) |
|
◆ ~TRT_Context()
TRT_Context::~TRT_Context |
( |
| ) |
|
◆ buildTrtContext()
void TRT_Context::buildTrtContext |
( |
const string & |
deployfile, |
|
|
const string & |
modelfile, |
|
|
bool |
bUseCPUBuf = false , |
|
|
bool |
isOnnxModel = false |
|
) |
| |
◆ destroyTrtContext()
void TRT_Context::destroyTrtContext |
( |
bool |
bUseCPUBuf = false | ) |
|
◆ doInference()
void TRT_Context::doInference |
( |
queue< vector< cv::Rect > > * |
rectList_queue, |
|
|
float * |
input = NULL |
|
) |
| |
◆ getBatchSize()
uint32_t TRT_Context::getBatchSize |
( |
| ) |
const |
◆ getBuffer()
void*& TRT_Context::getBuffer |
( |
const int & |
index | ) |
|
◆ getChannel()
int TRT_Context::getChannel |
( |
| ) |
const |
◆ getFilterNum()
int TRT_Context::getFilterNum |
( |
| ) |
const |
◆ getInputBuf()
float*& TRT_Context::getInputBuf |
( |
| ) |
|
◆ getModelClassCnt()
int TRT_Context::getModelClassCnt |
( |
| ) |
const |
◆ getNetHeight()
int TRT_Context::getNetHeight |
( |
| ) |
const |
◆ getNetWidth()
int TRT_Context::getNetWidth |
( |
| ) |
const |
◆ getNumTrtInstances()
uint32_t TRT_Context::getNumTrtInstances |
( |
| ) |
const |
◆ getOffsets()
void* TRT_Context::getOffsets |
( |
| ) |
const |
◆ getScales()
void* TRT_Context::getScales |
( |
| ) |
const |
◆ setBatchSize()
void TRT_Context::setBatchSize |
( |
const uint32_t & |
batchsize | ) |
|
◆ setDumpResult()
void TRT_Context::setDumpResult |
( |
const bool & |
dump_result | ) |
|
◆ setFilterNum()
void TRT_Context::setFilterNum |
( |
const unsigned int & |
filter_num | ) |
|
◆ setMode()
void TRT_Context::setMode |
( |
const int & |
mode | ) |
|
◆ setModelIndex()
void TRT_Context::setModelIndex |
( |
int |
modelIndex | ) |
|
◆ setTrtProfilerEnabled()
void TRT_Context::setTrtProfilerEnabled |
( |
const bool & |
enable_trt_profiler | ) |
|
◆ bbox_output_scales
float TRT_Context::bbox_output_scales[4] |
◆ classCnt
const int TRT_Context::classCnt |
◆ INPUT_BLOB_NAME
const char* TRT_Context::INPUT_BLOB_NAME |
◆ input_scale
float TRT_Context::input_scale[3] |
◆ offsets
int TRT_Context::offsets[3] |
◆ OUTPUT_BBOX_NAME
const char* TRT_Context::OUTPUT_BBOX_NAME |
◆ OUTPUT_BLOB_NAME
const char* TRT_Context::OUTPUT_BLOB_NAME |
◆ ParseFunc_ID
const int TRT_Context::ParseFunc_ID |
◆ STRIDE
const int TRT_Context::STRIDE |
◆ THRESHOLD
float TRT_Context::THRESHOLD[3] |
◆ WORKSPACE_SIZE
const int TRT_Context::WORKSPACE_SIZE |
The documentation for this class was generated from the following file: