TI Deep Learning Product User Guide
sTVMRT_Params_t Struct Reference

Detailed Description

TVMRT configuration parameters.

Data Fields

void * deploy_mod
 
int32_t deploy_mod_size
 
int32_t num_input_tensors
 
int32_t num_output_tensors
 
uint32_t input_names_offset [TVMRT_MAX_INPUT_TENSORS]
 
uint8_t input_names [TVMRT_MAX_TOTAL_INPUT_TENSOR_NAMES_SIZE]
 
sTVMRT_TensorParams_t tensors_params [TVMRT_MAX_TOTAL_TENSORS]
 
int32_t tvm_rt_debug_level
 
int32_t traceLogLevel
 
int32_t traceWriteLevel
 
void * traceBaseName
 
int32_t(* TVMVprintf )(const char *format, va_list arg)
 
int32_t(* TVMWriteBinToFile )(const char *fileName, void *addr, int32_t size)
 
int32_t(* TVMReadBinFromFile )(const char *fileName, void *addr, int32_t size)
 
float maxPreEmptDelay
 
int targetPriority
 
int32_t tvm_rt_trace_node
 
int32_t tvm_rt_trace_size
 
uint32_t coreNum
 

Field Documentation

◆ deploy_mod

void* sTVMRT_Params_t::deploy_mod

Pointer to C7x TVM deployable module

◆ deploy_mod_size

int32_t sTVMRT_Params_t::deploy_mod_size

◆ num_input_tensors

int32_t sTVMRT_Params_t::num_input_tensors

Input/Output tensors description

◆ num_output_tensors

int32_t sTVMRT_Params_t::num_output_tensors

◆ input_names_offset

uint32_t sTVMRT_Params_t::input_names_offset[TVMRT_MAX_INPUT_TENSORS]

TVM input tensors names are packed 0-terminated strings, offset array points to the start of each name

◆ input_names

uint8_t sTVMRT_Params_t::input_names[TVMRT_MAX_TOTAL_INPUT_TENSOR_NAMES_SIZE]

◆ tensors_params

sTVMRT_TensorParams_t sTVMRT_Params_t::tensors_params[TVMRT_MAX_TOTAL_TENSORS]

TVM tensors info for recreating DLTensors to interface with TVM runtime

◆ tvm_rt_debug_level

int32_t sTVMRT_Params_t::tvm_rt_debug_level

Flags to control TVM RT debug level

◆ traceLogLevel

int32_t sTVMRT_Params_t::traceLogLevel

Flags to control TIDL debugTrace Level

◆ traceWriteLevel

int32_t sTVMRT_Params_t::traceWriteLevel

Level for debug trace dumps of intermediate tensors and other data buffers into file

◆ traceBaseName

void* sTVMRT_Params_t::traceBaseName

trace files base Name

◆ TVMVprintf

int32_t(* sTVMRT_Params_t::TVMVprintf) (const char *format, va_list arg)

Call back Function pointer to Write Log

◆ TVMWriteBinToFile

int32_t(* sTVMRT_Params_t::TVMWriteBinToFile) (const char *fileName, void *addr, int32_t size)

Call back Function pointer to Write Binary data to a file

◆ TVMReadBinFromFile

int32_t(* sTVMRT_Params_t::TVMReadBinFromFile) (const char *fileName, void *addr, int32_t size)

Call back Function pointer to read data from a binary file

◆ maxPreEmptDelay

float sTVMRT_Params_t::maxPreEmptDelay

Maximum Tolerated delay for TIDL pre-emption in milliSecond

◆ targetPriority

int sTVMRT_Params_t::targetPriority

Int value of priority for selcting the target name 0(highest prior)-7(lowest prior)

◆ tvm_rt_trace_node

int32_t sTVMRT_Params_t::tvm_rt_trace_node

Dump all output tensors for a specified TVM node

◆ tvm_rt_trace_size

int32_t sTVMRT_Params_t::tvm_rt_trace_size

Increase the size of TVM trace buffer

◆ coreNum

uint32_t sTVMRT_Params_t::coreNum

Specify core number for execution - 1 for J721E, J721S2 and any one of 1,2,3,4 for J784S4