77 #define USE_IVISION (1) 84 #ifdef TIDL_IMPORT_TOOL 85 #define USE_IVISION (0) 104 #define TIDL_NUM_MAX_LAYERS ((int32_t) 1024) 105 #define TIDL_NUM_IN_BUFS ((int32_t) 16) 106 #define TIDL_NUM_OUT_BUFS ((int32_t) 16) 107 #define TIDL_STRING_SIZE ((int32_t) 512) 108 #define TIDL_MAX_DATA_BUFS ((int32_t) 1024) 109 #define TIDL_MAX_ALG_IN_BUFS ((int32_t) 32) 110 #define TIDL_MAX_ALG_OUT_BUFS ((int32_t) 32) 111 #define TIDL_MAX_NUM_GROUPS ((int32_t) 64) 142 #define TIDL_DataLayer ((int32_t) 0) 143 #define TIDL_ConvolutionLayer ((int32_t) 1) 144 #define TIDL_PoolingLayer ((int32_t) 2) 145 #define TIDL_ReLULayer ((int32_t) 3) 146 #define TIDL_PReLULayer ((int32_t) 4) 147 #define TIDL_EltWiseLayer ((int32_t) 5) 148 #define TIDL_InnerProductLayer ((int32_t) 6) 149 #define TIDL_SoftMaxLayer ((int32_t) 7) 150 #define TIDL_BatchNormLayer ((int32_t) 8) 151 #define TIDL_BiasLayer ((int32_t) 9) 152 #define TIDL_ScaleLayer ((int32_t) 10) 153 #define TIDL_Deconv2DLayer ((int32_t) 11) 154 #define TIDL_ConcatLayer ((int32_t) 12) 155 #define TIDL_SplitLayer ((int32_t) 13) 156 #define TIDL_SliceLayer ((int32_t) 14) 157 #define TIDL_CropLayer ((int32_t) 15) 158 #define TIDL_FlattenLayer ((int32_t) 16) 159 #define TIDL_DropOutLayer ((int32_t) 17) 160 #define TIDL_ArgMaxLayer ((int32_t) 18) 161 #define TIDL_DetectionOutputLayer ((int32_t) 19) 162 #define TIDL_ShuffleChannelLayer ((int32_t) 20) 163 #define TIDL_ResizeLayer ((int32_t) 21) 164 #define TIDL_RoiPoolingLayer ((int32_t) 22) 165 #define TIDL_OdPostProcessingLayer ((int32_t) 23) 166 #define TIDL_DepthToSpaceLayer ((int32_t) 24) 167 #define TIDL_SigmoidLayer ((int32_t) 25) 168 #define TIDL_PadLayer ((int32_t) 26) 169 #define TIDL_ColorConversionLayer ((int32_t) 27) 170 #define TIDL_OdOutputReformatLayer ((int32_t) 28) 171 #define TIDL_DataConvertLayer ((int32_t) 29) 172 #define TIDL_CustomLayer ((int32_t) 30) 173 #define TIDL_BatchReshapeLayer ((int32_t) 31) 174 #define TIDL_ReduceLayer ((int32_t) 32) 175 #define TIDL_ScatterElementsLayer ((int32_t) 33) 176 #define TIDL_SqueezeLayer ((int32_t) 34) 177 #define TIDL_UnsupportedLayer ((int32_t) 35) 188 #define TIDL_UnsignedChar ((int32_t) 0) 189 #define TIDL_SignedChar ((int32_t) 1) 190 #define TIDL_UnsignedShort ((int32_t) 2) 191 #define TIDL_SignedShort ((int32_t) 3) 192 #define TIDL_UnsignedWord ((int32_t) 4) 193 #define TIDL_SignedWord ((int32_t) 5) 194 #define TIDL_SinglePrecFloat ((int32_t) 6) 195 #define TIDL_UnsignedDoubleWord ((int32_t) 7) 196 #define TIDL_SignedDoubleWord ((int32_t) 8) 207 #define TIDL_LT_NCHW ((uint32_t) 0) 208 #define TIDL_LT_NHWC ((uint32_t) 1) 209 #define TIDL_LT_MAX (TIDLRT_LT_NHWC+1) 221 #define TIDL_DC_TYPE_INPUT ((uint32_t) 0) 222 #define TIDL_DC_TYPE_OUTPUT ((uint32_t) 1) 223 #define TIDL_DC_TYPE_MAX (TIDL_DC_TYPE_OUTPUT+1) 237 #define TIDL_QuantStyleFixed ((int32_t) 0) 240 #define TIDL_QuantStyleDynamic ((int32_t) 1) 243 #define TIDL_QuantStyleNP2Fixed ((int32_t) 2) 246 #define TIDL_QuantStyleP2Dynamic ((int32_t) 3) 248 #define TIDL_QuantStyleCustom ((int32_t) 10) 263 #define TIDL_CalibOptionActivationRange ((int32_t) 1) 268 #define TIDL_CalibOptionWeightRange ((int32_t) 2) 270 #define TIDL_CalibOptionBiasCalibration ((int32_t) 4) 274 #define TIDL_CalibOptionPerChannelWeightQuantization ((int32_t) 8) 280 #define TIDL_CalibOptionMixedPrecisionDepthwise ((int32_t) 16) 283 #define TIDL_CalibOptionMixedPrecisionInput ((int32_t) 32) 286 #define TIDL_CalibOptionBiasRange ((int32_t) 64) 301 #define TIDL_ActivationRangeMethodHistogram ((int32_t) 0) 307 #define TIDL_ActivationRangeMethodGlobalHistogram ((int32_t) 1) 322 #define TIDL_WeightRangeMethodHistogram ((int32_t) 0) 325 #define TIDL_WeightRangeMethodMedian ((int32_t) 1) 340 #define TIDL_OptimiseExtMemL0 ((int32_t) 0) 344 #define TIDL_OptimiseExtMemL1 ((int32_t) 1) 348 #define TIDL_OptimiseExtMemL2 ((int32_t) 2) 360 #define TIDL_Sparse ((int32_t) 0) 362 #define TIDL_Dense ((int32_t) 1) 374 #define TIDL_StrideOffsetTopLeft ((int32_t) 0) 375 #define TIDL_StrideOffsetCenter ((int32_t) 1) 376 #define TIDL_StrideOffsetMax ((int32_t) 2) 387 #define TIDL_MaxPooling ((int32_t) 0) 388 #define TIDL_AveragePooling ((int32_t) 1) 400 #define TIDL_NoAct ((int32_t) 0) 401 #define TIDL_RelU ((int32_t) 1) 402 #define TIDL_PRelU ((int32_t) 2) 403 #define TIDL_RelU6 ((int32_t) 3) 404 #define TIDL_Clip ((int32_t) 4) 405 #define TIDL_Sigmoid ((int32_t) 5) 416 #define TIDL_EltWiseProduct ((int32_t) 0) 417 #define TIDL_EltWiseSum ((int32_t) 1) 418 #define TIDL_EltWiseMax ((int32_t) 2) 429 #define TIDL_DIM_BATCH ((int32_t) 0) 430 #define TIDL_DIM_NUMCH ((int32_t) 1) 431 #define TIDL_DIM_HEIGHT ((int32_t) 2) 432 #define TIDL_DIM_WIDTH ((int32_t) 3) 433 #define TIDL_DIM_MAX ((int32_t) 4) 444 #define TIDL_ROI_PITCH ((uint32_t) 0) 445 #define TIDL_CHANNEL_PITCH ((uint32_t) 1) 446 #define TIDL_LINE_PITCH ((uint32_t) 2) 447 #define TIDL_PITCH_MAX ((uint32_t) (TIDL_DIM_MAX - 1)) 460 #define TIDL_E_CONVOLUTION ((int32_t) -1000) 461 #define TIDL_E_CONV_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 0)) 462 #define TIDL_E_CONV_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 1)) 463 #define TIDL_E_CONV_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 2)) 464 #define TIDL_E_CONV_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 3)) 465 #define TIDL_E_CONV_INVALID_NUM_IN_CHANNELS ((int32_t) (TIDL_E_CONVOLUTION - 4)) 466 #define TIDL_E_CONV_INVALID_NUM_OUT_CHANNELS ((int32_t) (TIDL_E_CONVOLUTION - 5)) 467 #define TIDL_E_CONV_INVALID_KER_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 6)) 468 #define TIDL_E_CONV_INVALID_KER_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 7)) 469 #define TIDL_E_CONV_INVALID_KER_TYPE ((int32_t) (TIDL_E_CONVOLUTION - 8)) 470 #define TIDL_E_CONV_INVALID_STRIDE_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 9)) 471 #define TIDL_E_CONV_INVALID_STRIDE_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 10)) 472 #define TIDL_E_CONV_NEGATIVE_OUTPUT_SHIFT ((int32_t) (TIDL_E_CONVOLUTION - 11)) 474 #define TIDL_E_CONV_POOL_INVALID_POOL_TYPE ((int32_t) (TIDL_E_CONVOLUTION - 12)) 475 #define TIDL_E_CONV_POOL_INVALID_KER_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 13)) 476 #define TIDL_E_CONV_POOL_INVALID_KER_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 14)) 477 #define TIDL_E_CONV_POOL_INVALID_STRIDE_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 15)) 478 #define TIDL_E_CONV_POOL_INVALID_STRIDE_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 16)) 480 #define TIDL_E_ELTWISE ((int32_t) -1020) 481 #define TIDL_E_ELTWISE_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_ELTWISE - 0)) 482 #define TIDL_E_ELTWISE_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_ELTWISE - 1)) 483 #define TIDL_E_ELTWISE_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_ELTWISE - 2)) 484 #define TIDL_E_ELTWISE_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_ELTWISE - 3)) 485 #define TIDL_E_ELTWISE_INVALID_ELTWISE_TYPE ((int32_t) (TIDL_E_ELTWISE - 4)) 486 #define TIDL_E_ELTWISE_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_ELTWISE - 5)) 488 #define TIDL_E_POOLING ((int32_t) -1030) 489 #define TIDL_E_POOL_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_POOLING - 0)) 490 #define TIDL_E_POOL_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_POOLING - 1)) 491 #define TIDL_E_POOL_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_POOLING - 2)) 492 #define TIDL_E_POOL_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_POOLING - 3)) 493 #define TIDL_E_POOL_INVALID_POOL_TYPE ((int32_t) (TIDL_E_POOLING - 4)) 494 #define TIDL_E_POOL_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_POOLING - 5)) 495 #define TIDL_E_POOL_INVALID_KER_WIDTH ((int32_t) (TIDL_E_POOLING - 6)) 496 #define TIDL_E_POOL_INVALID_KER_HEIGHT ((int32_t) (TIDL_E_POOLING - 7)) 497 #define TIDL_E_POOL_INVALID_STRIDE_WIDTH ((int32_t) (TIDL_E_POOLING - 8)) 498 #define TIDL_E_POOL_INVALID_STRIDE_HEIGHT ((int32_t) (TIDL_E_POOLING - 9)) 500 #define TIDL_E_INNER_PRODUCT ((int32_t) -1040) 501 #define TIDL_E_IP_INVALID_NUM_IN_NODES ((int32_t) (TIDL_E_INNER_PRODUCT - 0)) 502 #define TIDL_E_IP_INVALID_NUM_OUT_NODES ((int32_t) (TIDL_E_INNER_PRODUCT - 1)) 503 #define TIDL_E_IP_NEGATIVE_OUTPUT_SHIFT ((int32_t) (TIDL_E_INNER_PRODUCT - 2)) 505 #define TIDL_E_ARGMAX ((int32_t) -1050) 506 #define TIDL_E_ARGMAX_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_ARGMAX - 0)) 508 #define TIDL_E_BN ((int32_t) -1060) 509 #define TIDL_E_BN_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_BN - 0)) 510 #define TIDL_E_BN_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_BN - 1)) 511 #define TIDL_E_BN_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_BN - 2)) 512 #define TIDL_E_BN_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_BN - 3)) 513 #define TIDL_E_BN_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_BN - 4)) 514 #define TIDL_E_BN_INVALID_ENABLE_RELU ((int32_t) (TIDL_E_BN - 5)) 515 #define TIDL_E_BN_NEGATIVE_OUTPUT_SHIFT ((int32_t) (TIDL_E_BN - 6)) 517 #define TIDL_E_CROP ((int32_t) -1070) 518 #define TIDL_E_CROP_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_CROP - 0)) 519 #define TIDL_E_CROP_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_CROP - 1)) 520 #define TIDL_E_CROP_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_CROP - 2)) 521 #define TIDL_E_CROP_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_CROP - 3)) 522 #define TIDL_E_CROP_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_CROP - 4)) 523 #define TIDL_E_CROP_INVALID_OFFSET_WIDTH ((int32_t) (TIDL_E_CROP - 5)) 524 #define TIDL_E_CROP_INVALID_OFFSET_HEIGHT ((int32_t) (TIDL_E_CROP - 6)) 526 #define TIDL_E_FLATTEN ((int32_t) -1080) 527 #define TIDL_E_FLATTEN_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_FLATTEN - 0)) 528 #define TIDL_E_FLATTEN_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_FLATTEN - 1)) 529 #define TIDL_E_FLATTEN_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_FLATTEN - 2)) 530 #define TIDL_E_FLATTEN_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_FLATTEN - 3)) 532 #define TIDL_E_SOFTMAX ((int32_t) -1090) 533 #define TIDL_E_SOFTMAX_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_SOFTMAX - 0)) 535 #define TIDL_E_SHUFFLECHANNEL ((int32_t) -1100) 536 #define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_SHUFFLECHANNEL - 0)) 537 #define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_SHUFFLECHANNEL - 1)) 538 #define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_SHUFFLECHANNEL - 2)) 539 #define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_SHUFFLECHANNEL - 3)) 540 #define TIDL_E_SHUFFLECHANNEL_INVALID_NUM_GROUPS ((int32_t) (TIDL_E_SHUFFLECHANNEL - 4)) 542 #define TIDL_E_COMMON ((int32_t) -1110) 543 #define TIDL_E_UNSUPPORTED_LAYER ((int32_t) (TIDL_E_COMMON - 0)) 544 #define TIDL_E_DATAFLOW_INFO_NULL ((int32_t) (TIDL_E_COMMON - 1)) 545 #define TIDL_E_INVALID_DEBUG_TRACE_PRM ((int32_t) (TIDL_E_COMMON - 2)) 546 #define TIDL_E_INVALID_NET_VERSION ((int32_t) (TIDL_E_COMMON - 3)) 547 #define TIDL_E_INVALID_IO_LINE_PITCH ((int32_t) (TIDL_E_COMMON - 4)) 548 #define TIDL_E_QUANT_STATS_NOT_AVAILABALE ((int32_t) (TIDL_E_COMMON - 5)) 559 #define TIDL_SYSMEM_L1_SCRATCH ((uint32_t) 0) 560 #define TIDL_SYSMEM_L2_SCRATCH ((uint32_t) 1) 561 #define TIDL_SYSMEM_L3_SCRATCH ((uint32_t) 2) 562 #define TIDL_SYSMEM_DDR_SCRATCH ((uint32_t) 3) 563 #define TIDL_SYSMEM_MAX ((uint32_t) 4) 576 #define TIDL_EXEC_MODE_STATS_COLLECTION ((int32_t) 0) 578 #define TIDL_EXEC_MODE_INFER_PROCESS ((int32_t) 2) 579 #define TIDL_EXEC_MODE_INFER_PROCESS_REF ((int32_t) 3) 1163 float32_tidl point3dRange[3][2];
1166 float32_tidl voxelSize[2];
1184 #define TIDL_OD_MAX_KEYPOINTS (16) 1185 #define TIDL_OD_MAX_ANCHORS_PER_HEAD (16) 1214 float32_tidl boxScales[4];
1485 #define TIDL_NET_VERSION (0x20211201) 1718 int32_t(*TIDLVprintf)(
const char * format, va_list arg);
1722 int32_t(*TIDLWriteBinToFile)(
const char * fileName,
void * addr, int32_t size,
void *tracePtr);
1724 int32_t(*TIDLReadBinFromFile)(
const char * fileName,
void * addr, int32_t size);
1741 int32_t (*TIDL_CustomLayerProcess)(
void * tidlHandle,
1746 void *dmaUtilsContext,
1822 #define TIDL_OD_MAX_KEY_POINTS (32) 1905 #if defined(x86_64) || defined(HOST_EMULATION) int32_t enableEltWise
Definition: itidl_ti.h:1058
This structure define the parameters Soft max layer in TIDL.
Definition: itidl_ti.h:1350
float32_tidl maxTensorValue
Definition: itidl_ti.h:646
int32_t weights
Definition: itidl_ti.h:1294
Definition: itidl_ti.h:1553
sTIDL_odOutputReformatLayerParams_t odOutputReformatLayerParams
Definition: itidl_ti.h:1445
float32_tidl xmin
Definition: itidl_ti.h:1839
int32_t biasQ
Definition: itidl_ti.h:1254
Definition: itidl_ti.h:802
sTIDL_SliceLayerParams_t sliceParams
Definition: itidl_ti.h:1440
int32_t padType
Definition: itidl_ti.h:723
float32_tidl quantRangeUpdateFactor
Definition: itidl_ti.h:1686
int32_t strideW
Definition: itidl_ti.h:928
sTIDL_ShuffleLayerParams_t shuffleLayerParams
Definition: itidl_ti.h:1439
This structure define the parameters ScatterElements layer in TIDL.
Definition: itidl_ti.h:1409
int32_t offset
Definition: itidl_ti.h:622
float32_tidl clipMin
Definition: itidl_ti.h:849
IVISION_InArgs iVisionInArgs
Definition: itidl_ti.h:1761
int32_t strideOffsetMethod
Definition: itidl_ti.h:1481
int32_t upscaleFactor
Definition: itidl_ti.h:1067
Definition: itidl_ti.h:1084
float32_tidl ObjId
Definition: itidl_ti.h:1862
float32_tidl biasScale
Definition: itidl_ti.h:1264
int32_t traceWriteLevel
Definition: itidl_ti.h:1690
int32_t numGroups
Definition: itidl_ti.h:1018
float32_tidl y
Definition: itidl_ti.h:1816
Definition: itidl_ti.h:1551
int32_t perChannelPadConstTensorOffset
Definition: itidl_ti.h:726
sTIDL_ReduceParams_t reduceParams
Definition: itidl_ti.h:1448
int32_t kernelType
Definition: itidl_ti.h:1062
int32_t numInData
Definition: itidl_ti.h:1336
int32_t padR
Definition: itidl_ti.h:719
int32_t layersGroupId
Definition: itidl_ti.h:1477
float32_tidl kpt_confidence
Definition: itidl_ti.h:1818
eTIDL_inReduceOp
This enumerator defines the different indata formats.
Definition: itidl_ti.h:1571
float32_tidl clipMax
Definition: itidl_ti.h:851
This union define the layer specific parameters of all the supported layers in TIDL.
Definition: itidl_ti.h:1426
void * traceBaseName
Definition: itidl_ti.h:1705
int32_t padW
Definition: itidl_ti.h:1032
Definition: itidl_ti.h:1108
int32_t isInbufsPaded
Definition: itidl_ti.h:1679
int32_t roundBits
Definition: itidl_ti.h:662
int32_t numInNodes
Definition: itidl_ti.h:1300
float32_tidl percentileActRangeShrink
Definition: itidl_ti.h:881
int32_t resvd
Definition: itidl_ti.h:693
int32_t quantizationStyle
Definition: itidl_ti.h:1509
This structure define the parameters Dat Convert layer in TIDL.
Definition: itidl_ti.h:1383
int32_t(* TIDLReadBinFromFile)(const char *fileName, void *addr, int32_t size)
Definition: itidl_ti.h:1724
int32_t biasQ
Definition: itidl_ti.h:1280
int32_t poolingType
Definition: itidl_ti.h:922
int32_t kernelW
Definition: itidl_ti.h:924
#define TIDL_NUM_MAX_LAYERS
Definition: itidl_ti.h:104
Definition: itidl_ti.h:799
sTIDL_ScatterElementsParams_t scatterElementsParams
Definition: itidl_ti.h:1449
void * udmaDrvObj
Definition: itidl_ti.h:1710
This structure contains all the parameters which TI DL library at create time.
Definition: itidl_ti.h:1672
Definition: itidl_ti.h:1541
int32_t processingType
Definition: itidl_ti.h:1119
float32_tidl ymin
Definition: itidl_ti.h:1841
int32_t inDataQ
Definition: itidl_ti.h:1048
This structure defines the Input and output buffer descriptors required for a given Layer group...
Definition: itidl_ti.h:1582
int32_t inDataQ
Definition: itidl_ti.h:1256
sTIDL_BiasParams_t biasParams
Definition: itidl_ti.h:1437
This structure define the parameters of ROI Pooling layer in TIDL.
Definition: itidl_ti.h:814
static float32_tidl TIDL_getWorstcaseDelayForPreemption(sTIDL_Network_t *net)
Definition: itidl_ti.h:1850
Definition: itidl_ti.h:749
Definition: itidl_ti.h:1106
int32_t codeType
Definition: itidl_ti.h:1129
Definition: itidl_ti.h:1086
int32_t numKeyPoints
Definition: itidl_ti.h:1198
#define TIDL_SYSMEM_MAX
Definition: itidl_ti.h:563
int32_t blockSize
Definition: itidl_ti.h:703
sTIDL_ResizeLayerParams_t resizeParams
Definition: itidl_ti.h:1441
sTIDL_Network_t * net
Definition: itidl_ti.h:1712
Definition: itidl_ti.h:1085
int32_t numChannels
Definition: itidl_ti.h:906
sTIDL_RoiPoolingLayerParams_t roiPoolingParams
Definition: itidl_ti.h:1442
sTIDL_ActParams_t actParams
Definition: itidl_ti.h:1462
int32_t offsetH
Definition: itidl_ti.h:1374
float32_tidl strideH
Definition: itidl_ti.h:1206
int32_t enableLayerPerfTraces
Definition: itidl_ti.h:1767
float32_tidl yaw
Definition: itidl_ti.h:1880
int32_t kernelW
Definition: itidl_ti.h:1020
int32_t numLayers
Definition: itidl_ti.h:1497
int32_t dataId
Definition: itidl_ti.h:632
int32_t zeroWeightValue
Definition: itidl_ti.h:1266
This structure defines the system memory handles in TIDL There are total four handles: 0: L1...
Definition: itidl_ti.h:618
Definition: itidl_ti.h:750
int32_t netVersion
Definition: itidl_ti.h:1493
int32_t outDataQ
Definition: itidl_ti.h:1370
Definition: itidl_ti.h:798
sTIDL_CalibParams_t calibrationParams
Definition: itidl_ti.h:1520
float32_tidl biasCalibrationFactor
Definition: itidl_ti.h:891
float32_tidl score
Definition: itidl_ti.h:1866
void * base
Definition: itidl_ti.h:620
int32_t rsvdPassThrough
Definition: itidl_ti.h:995
int32_t biasB
Definition: itidl_ti.h:1320
static int TIDL_createParamsInit(TIDL_CreateParams *params)
Definition: itidl_ti.h:1883
Definition: itidl_ti.h:1079
This structure define the parameters of Pad layer in TIDL.
Definition: itidl_ti.h:711
int32_t numInBufs
Definition: itidl_ti.h:1763
int32_t imHeight
Definition: itidl_ti.h:820
int32_t enablePooling
Definition: itidl_ti.h:1056
Definition: itidl_ti.h:1080
int32_t coreID
Definition: itidl_ti.h:1474
sTIDL_SoftMaxParams_t softMaxParams
Definition: itidl_ti.h:1433
#define TIDL_MAX_ALG_IN_BUFS
Definition: itidl_ti.h:109
eTIDL_inResizeType
This enumerator defines the different indata formats.
Definition: itidl_ti.h:1560
int32_t axis
Definition: itidl_ti.h:833
int32_t imWidth
Definition: itidl_ti.h:818
int32_t enableEWRelU
Definition: itidl_ti.h:1060
sTIDL_CropParams_t cropParams
Definition: itidl_ti.h:1434
This structure define the parameters spatial Pooling layer in TIDL.
Definition: itidl_ti.h:918
int32_t outDataQ
Definition: itidl_ti.h:938
void * tracePtr
Definition: itidl_ti.h:1720
int32_t stride
Definition: itidl_ti.h:835
int32_t padT
Definition: itidl_ti.h:713
int32_t dilationW
Definition: itidl_ti.h:1028
int32_t zeroPoint
Definition: itidl_ti.h:1387
int32_t flowCtrl
Definition: itidl_ti.h:1694
int32_t elementType
Definition: itidl_ti.h:634
int32_t outDataQ
Definition: itidl_ti.h:1356
int32_t minValue
Definition: itidl_ti.h:640
int32_t keepDims
Definition: itidl_ti.h:1399
#define TIDL_DIM_MAX
Definition: itidl_ti.h:433
int32_t dilationH
Definition: itidl_ti.h:1030
Definition: itidl_ti.h:829
float float32_tidl
Definition: itidl_ti.h:115
int32_t biasQ
Definition: itidl_ti.h:1338
float32_tidl weightScale
Definition: itidl_ti.h:1306
Definition: itidl_ti.h:1564
int32_t numInChannels
Definition: itidl_ti.h:1014
int32_t padH
Definition: itidl_ti.h:652
float32_tidl biasScale
Definition: itidl_ti.h:1308
This structure define the parameters Arg max layer in TIDL.
Definition: itidl_ti.h:904
int32_t poolingType
Definition: itidl_ti.h:816
sTIDL_PoolingParams_t poolParams
Definition: itidl_ti.h:1069
float32_tidl offsetH
Definition: itidl_ti.h:1210
Definition: itidl_ti.h:783
int32_t numChannels
Definition: itidl_ti.h:1366
This structure define the parameters of Bias layer in TIDL.
Definition: itidl_ti.h:1274
int32_t outDataQ
Definition: itidl_ti.h:1050
This structure contains the each object's information detected by Objection detection layer...
Definition: itidl_ti.h:1830
float32_tidl x
Definition: itidl_ti.h:1814
Definition: itidl_ti.h:1562
int32_t doesLayerFillOutXPadding
Definition: itidl_ti.h:993
float32_tidl z
Definition: itidl_ti.h:1872
int32_t zeroWeightValue
Definition: itidl_ti.h:1042
int32_t slope
Definition: itidl_ti.h:845
float32_tidl nmsThreshold
Definition: itidl_ti.h:1135
sTIDL_ConvParams_t convParams
Definition: itidl_ti.h:1427
int32_t outDataQ
Definition: itidl_ti.h:1284
This structure define the parameters of Detection Output Layer in TIDL.
Definition: itidl_ti.h:1117
Definition: itidl_ti.h:1539
float32_tidl quantRangeExpansionFactor
Definition: itidl_ti.h:1683
eTIDL_PadLayerPadType
This enumerator defines the different types of padding supported by TIDL library. ...
Definition: itidl_ti.h:781
This structure define the parameters of ReLU activation layer in TIDL.
Definition: itidl_ti.h:861
This structure define the parameters of Data layer in TIDL.
Definition: itidl_ti.h:676
int32_t outDataQ
Definition: itidl_ti.h:910
#define TIDL_OD_MAX_KEY_POINTS
Definition: itidl_ti.h:1822
int32_t numOutNodes
Definition: itidl_ti.h:1302
int32_t numOutBufs
Definition: itidl_ti.h:1468
int32_t varianceEncoded
Definition: itidl_ti.h:1147
int32_t outDataQ
Definition: itidl_ti.h:1316
float32_tidl biasScale
Definition: itidl_ti.h:1038
int32_t padB
Definition: itidl_ti.h:715
int32_t outDataQ
Definition: itidl_ti.h:1342
int32_t kernelH
Definition: itidl_ti.h:1022
int32_t activationType
Definition: itidl_ti.h:1298
Definition: itidl_ti.h:1097
float32_tidl ObjId
Definition: itidl_ti.h:1833
int32_t weightsQ
Definition: itidl_ti.h:1260
float32_tidl offsetL
Definition: itidl_ti.h:1212
int32_t bias
Definition: itidl_ti.h:1330
#define TIDL_NUM_OUT_BUFS
Definition: itidl_ti.h:106
This structure define common parameters ReduceMax/ReduceMin layer in TIDL.
Definition: itidl_ti.h:1395
int32_t(* TIDL_Lock_t)(void)
Call back function pointer to lock interrupts.
Definition: itidl_ti.h:124
TIDL_Lock_t pFxnLock
Definition: itidl_ti.h:1714
int32_t padW
Definition: itidl_ti.h:650
int32_t interDataQ
Definition: itidl_ti.h:1052
float32_tidl weightScale
Definition: itidl_ti.h:1262
float32_tidl score
Definition: itidl_ti.h:1837
int32_t outDataQ
Definition: itidl_ti.h:1258
float32_tidl weightScale
Definition: itidl_ti.h:1036
float32_tidl percentileWtRangeShrink
Definition: itidl_ti.h:888
int32_t numOutputBuf
Definition: itidl_ti.h:1587
float32_tidl tensorScale
Definition: itidl_ti.h:648
This structure define the parameters Convolution Layer in TIDL.
Definition: itidl_ti.h:1003
int32_t offsetW
Definition: itidl_ti.h:1372
Definition: itidl_ti.h:1078
int32_t numBatchW
Definition: itidl_ti.h:658
int32_t maxPointsPerVoxel
Definition: itidl_ti.h:1169
void * ptr
Definition: itidl_ti.h:595
Definition: itidl_ti.h:795
int32_t inDataQ
Definition: itidl_ti.h:908
float32_tidl l
Definition: itidl_ti.h:1876
This structure define the parameters of Batch Norm layer in TIDL.
Definition: itidl_ti.h:1246
int32_t keepTopK
Definition: itidl_ti.h:1141
This structure define the parameters of Shuffle layer in TIDL.
Definition: itidl_ti.h:689
Definition: itidl_ti.h:1096
int32_t actType
Definition: itidl_ti.h:853
sTIDL_PadLayerParams_t padLayerParams
Definition: itidl_ti.h:1444
eTIDL_odOutputReformatType
This enumerator defines the different types of output types for the OD output reformatting layer...
Definition: itidl_ti.h:793
int32_t enableBias
Definition: itidl_ti.h:1054
int32_t dataElementSize
Definition: itidl_ti.h:1505
int32_t biasQ
Definition: itidl_ti.h:1312
This structure define the common layer parameters in TIDL.
Definition: itidl_ti.h:1459
int32_t scoreConverter
Definition: itidl_ti.h:1172
int32_t inDataQ
Definition: itidl_ti.h:1314
eTIDL_metaArchType
This enumerator defines the different Meta Arch types.
Definition: itidl_ti.h:1076
int32_t padH
Definition: itidl_ti.h:955
Definition: itidl_ti.h:804
eTIDL_RoiPoolingType
This enumerator defines the different types of ROI pooling supported by TIDL library.
Definition: itidl_ti.h:770
int32_t convolutionType
Definition: itidl_ti.h:1012
int32_t batchPadW
Definition: itidl_ti.h:654
This structure define the parameters of data or kernel buffer used by TIDL layers (In...
Definition: itidl_ti.h:630
sTIDL_LayerParams_t layerParams
Definition: itidl_ti.h:1460
int32_t weights
Definition: itidl_ti.h:1248
int32_t biasB
Definition: itidl_ti.h:1044
Definition: itidl_ti.h:748
int32_t traceLogLevel
Definition: itidl_ti.h:1688
int32_t axis
Definition: itidl_ti.h:1397
This structure define the parameters of ReLU activation layer in TIDL.
Definition: itidl_ti.h:843
This structure define the parameters CNN/Deep learning net in TIDL.
Definition: itidl_ti.h:1491
int32_t biasCalibrationIterations
Definition: itidl_ti.h:895
int32_t strideH
Definition: itidl_ti.h:1026
int32_t strideH
Definition: itidl_ti.h:930
int32_t headWidth
Definition: itidl_ti.h:1200
float32_tidl preEmptWorstCaseDelay
Definition: itidl_ti.h:1526
sTIDL_EltWiseParams_t eltWiseParams
Definition: itidl_ti.h:1428
#define TIDL_MAX_ALG_OUT_BUFS
Definition: itidl_ti.h:110
int32_t eltWiseType
Definition: itidl_ti.h:1334
sTIDL_ConcatParams_t concatParams
Definition: itidl_ti.h:1435
int32_t bias
Definition: itidl_ti.h:1296
int32_t numAnchors
Definition: itidl_ti.h:1196
int32_t numKeypoints
Definition: itidl_ti.h:1149
int32_t priorBox
Definition: itidl_ti.h:1121
float32_tidl h
Definition: itidl_ti.h:1878
int32_t doesLayerChangePadding
Definition: itidl_ti.h:967
float32_tidl eta
Definition: itidl_ti.h:1137
int32_t useCeil
Definition: itidl_ti.h:940
int32_t padConstValue
Definition: itidl_ti.h:721
int32_t topK
Definition: itidl_ti.h:1139
int32_t numChannels
Definition: itidl_ti.h:1352
int32_t padH
Definition: itidl_ti.h:934
float32_tidl y
Definition: itidl_ti.h:1870
int32_t padH
Definition: itidl_ti.h:1034
int32_t optimiseExtMem
Definition: itidl_ti.h:1681
Definition: itidl_ti.h:1574
int32_t inDataQ
Definition: itidl_ti.h:1368
const IVISION_Fxns TIDL_VISION_FXNS
The unique const function table for the TI deep learning algorithm.
double float64_tidl
Definition: itidl_ti.h:117
int32_t interElementSize
Definition: itidl_ti.h:1507
float32_tidl label
Definition: itidl_ti.h:1835
int32_t size
Definition: itidl_ti.h:621
Definition: itidl_ti.h:801
int32_t slopeElementSize
Definition: itidl_ti.h:1501
sTIDL_BatchNormParams_t batchNormParams
Definition: itidl_ti.h:1438
int32_t dataFlowInfo
Definition: itidl_ti.h:1522
Definition: itidl_ti.h:806
Definition: itidl_ti.h:772
eTIDL_inYuvFormat
This enumerator defines the different YUV formats.
Definition: itidl_ti.h:1548
sTIDL_dataConvertParams_t dataConvertParams
Definition: itidl_ti.h:1446
IVISION_Params visionParams
Definition: itidl_ti.h:1675
Definition: itidl_ti.h:796
int32_t keypointConfidence
Definition: itidl_ti.h:1151
This structure define the parameters of Element wise layer in TIDL.
Definition: itidl_ti.h:1328
int32_t numChannels
Definition: itidl_ti.h:678
Definition: itidl_ti.h:784
sTIDL_InnerProductParams_t innerProductParams
Definition: itidl_ti.h:1430
This structure defines the parameters for custom layer in TIDL.
Definition: itidl_ti.h:947
int32_t biasElementSize
Definition: itidl_ti.h:1503
This structure define the parameters of AnchorBox used by Detection Output Layer in TIDL...
Definition: itidl_ti.h:1193
sTIDL_PoolingParams_t poolParams
Definition: itidl_ti.h:1429
Definition: itidl_ti.h:1095
#define TIDL_OptimiseExtMemL1
In this case, output buffer will re-use memory from previous layers when they have same width and hei...
Definition: itidl_ti.h:344
sTIDL_ArgMaxParams_t argMaxParams
Definition: itidl_ti.h:1432
int32_t numOutChannels
Definition: itidl_ti.h:1016
Definition: itidl_ti.h:773
int32_t numGroups
Definition: itidl_ti.h:691
int32_t shareLocation
Definition: itidl_ti.h:1144
int32_t backgroundLabelId
Definition: itidl_ti.h:1127
This structure define the parameters of Inner Product (Fully connected) layer in TIDL.
Definition: itidl_ti.h:1292
Definition: itidl_ti.h:1573
eTIDL_inDataFormat
This enumerator defines the different indata formats.
Definition: itidl_ti.h:1537
int32_t weightRangeMethod
Definition: itidl_ti.h:873
int32_t inDataQ
Definition: itidl_ti.h:936
int32_t outDataQ
Definition: itidl_ti.h:1236
int32_t imHeight
Definition: itidl_ti.h:1160
float32_tidl label
Definition: itidl_ti.h:1864
int32_t priorBoxSize
Definition: itidl_ti.h:1123
TIDL_Unlock_t pFxnUnLock
Definition: itidl_ti.h:1716
Definition: itidl_ti.h:800
IVISION_OutArgs iVisionOutArgs
Definition: itidl_ti.h:1779
int32_t calibrationOption
Definition: itidl_ti.h:1516
int32_t inDataQ
Definition: itidl_ti.h:1354
int32_t numBatchH
Definition: itidl_ti.h:660
int32_t dataQ
Definition: itidl_ti.h:638
int32_t reserved
Definition: itidl_ti.h:1528
int32_t strideW
Definition: itidl_ti.h:1024
int32_t type
Definition: itidl_ti.h:1385
#define TIDL_STRING_SIZE
Definition: itidl_ti.h:107
int32_t numInputBuf
Definition: itidl_ti.h:1585
int32_t weightsElementSizeInBits
Definition: itidl_ti.h:1479
sTIDL_DepthToSpaceParams_t depthToSpaceParams
Definition: itidl_ti.h:1443
float32_tidl xmax
Definition: itidl_ti.h:1843
This structure contains the key points information of BBox detected by OD layer.
Definition: itidl_ti.h:1811
Definition: itidl_ti.h:1563
float32_tidl x
Definition: itidl_ti.h:1868
int32_t numChannels
Definition: itidl_ti.h:1252
sTIDL_DataLayerParams_t dataLayerParams
Definition: itidl_ti.h:1431
int32_t numClasses
Definition: itidl_ti.h:1125
float32_tidl slopeScale
Definition: itidl_ti.h:847
int32_t currLayersGroupId
Definition: itidl_ti.h:1677
Definition: itidl_ti.h:803
This structure define the parameters of data or kernel buffer memory in TIDL.
Definition: itidl_ti.h:593
int32_t(* TIDLWriteBinToFile)(const char *fileName, void *addr, int32_t size, void *tracePtr)
Definition: itidl_ti.h:1722
float32_tidl confThreshold
Definition: itidl_ti.h:1132
Definition: itidl_ti.h:1107
int32_t deviceName
Definition: itidl_ti.h:1495
int32_t inDataQ
Definition: itidl_ti.h:1282
int32_t numChannels
Definition: itidl_ti.h:1332
int32_t weightsQ
Definition: itidl_ti.h:1304
int32_t bias
Definition: itidl_ti.h:1007
int32_t biasQ
Definition: itidl_ti.h:1046
This structure contains all the parameters which controls the applet at create time.
Definition: itidl_ti.h:1758
int32_t activationRangeMethod
Definition: itidl_ti.h:866
int32_t bias
Definition: itidl_ti.h:1250
float32_tidl maxPreEmptDelay
Definition: itidl_ti.h:1703
int32_t zeroWeightValue
Definition: itidl_ti.h:1310
This structure contains the each object's information detected by 3D Objection detection layer...
Definition: itidl_ti.h:1859
int32_t enableDepthToSpace
Definition: itidl_ti.h:1064
This structure contains all the parameters which controls the applet at create time.
Definition: itidl_ti.h:1776
int32_t interDataQ
Definition: itidl_ti.h:1318
void(* TIDL_Unlock_t)(int32_t)
Call back function pointer to unlock interrupts.
Definition: itidl_ti.h:132
int32_t padW
Definition: itidl_ti.h:932
Definition: itidl_ti.h:1083
Definition: itidl_ti.h:1082
int32_t axis
Definition: itidl_ti.h:1411
int32_t(* TIDLVprintf)(const char *format, va_list arg)
Definition: itidl_ti.h:1718
int32_t weightsQ
Definition: itidl_ti.h:1040
This structure define the parameters of PriorBox layer in TIDL.
Definition: itidl_ti.h:1232
Definition: itidl_ti.h:785
int32_t layout
Definition: itidl_ti.h:1386
int32_t dataLayout
Definition: itidl_ti.h:1179
int32_t weights
Definition: itidl_ti.h:1005
eTIDL_processingType
This enumerator defines the different Meta Arch types.
Definition: itidl_ti.h:1093
int32_t batchPadH
Definition: itidl_ti.h:656
int32_t numInBufs
Definition: itidl_ti.h:1466
int32_t ops
Definition: itidl_ti.h:1401
int32_t dataQ
Definition: itidl_ti.h:680
int32_t imWidth
Definition: itidl_ti.h:1157
int32_t kernelH
Definition: itidl_ti.h:926
int32_t bias
Definition: itidl_ti.h:1276
#define TIDL_OD_MAX_ANCHORS_PER_HEAD
Definition: itidl_ti.h:1185
int32_t isQuantStatsAvailable
Definition: itidl_ti.h:1524
int32_t numOutBufs
Definition: itidl_ti.h:1781
Definition: itidl_ti.h:805
int32_t metaArchType
Definition: itidl_ti.h:1175
float32_tidl offsetW
Definition: itidl_ti.h:1208
int32_t numChannels
Definition: itidl_ti.h:1278
float32_tidl * anchorInputs
Definition: itidl_ti.h:1223
This structure define the parameters Crop layer in TIDL.
Definition: itidl_ti.h:1364
Definition: itidl_ti.h:1550
#define TIDL_NUM_IN_BUFS
Definition: itidl_ti.h:105
sTIDL_CustomParams_t customParams
Definition: itidl_ti.h:1447
int32_t reservedCtrl
Definition: itidl_ti.h:1692
int32_t weightsElementSize
Definition: itidl_ti.h:1499
int32_t bufSize
Definition: itidl_ti.h:596
Definition: itidl_ti.h:1081
int32_t padW
Definition: itidl_ti.h:952
int32_t perChannelWeightScaleOffset
Definition: itidl_ti.h:1010
int32_t numChannels
Definition: itidl_ti.h:920
This structure define the parameters of Depth To Space layer in TIDL.
Definition: itidl_ti.h:701
This structure define the parameters of Resize layer in TIDL.
Definition: itidl_ti.h:758
int32_t memOverlapType
Definition: itidl_ti.h:961
Definition: itidl_ti.h:797
#define TIDL_OD_MAX_KEYPOINTS
Definition: itidl_ti.h:1184
int32_t headHeight
Definition: itidl_ti.h:1202
int32_t layerType
Definition: itidl_ti.h:1464
int32_t axis
Definition: itidl_ti.h:1234
eTIDL_scoreConverterType
This enumerator defines the different Meta Arch types.
Definition: itidl_ti.h:1104
float32_tidl minTensorValue
Definition: itidl_ti.h:644
int32_t padL
Definition: itidl_ti.h:717
float32_tidl w
Definition: itidl_ti.h:1874
int32_t maxValue
Definition: itidl_ti.h:642
int32_t mode
Definition: itidl_ti.h:760
int32_t numDim
Definition: itidl_ti.h:636
Definition: itidl_ti.h:1540
Definition: itidl_ti.h:1552
float32_tidl strideW
Definition: itidl_ti.h:1204
sTIDL_DetectOutputParams_t detectOutParams
Definition: itidl_ti.h:1436
float32_tidl ymax
Definition: itidl_ti.h:1845
int32_t customLayerType
Definition: itidl_ti.h:949
int32_t numHeads
Definition: itidl_ti.h:1154
eTIDL_ResizeType
This enumerator defines the different types of element type used by TIDL library. ...
Definition: itidl_ti.h:746