79 #define USE_IVISION (1) 86 #ifdef TIDL_IMPORT_TOOL 87 #define USE_IVISION (0) 106 #define TIDL_NUM_MAX_LAYERS ((int32_t) 1024) 107 #define TIDL_NUM_IN_BUFS ((int32_t) 24) 108 #define TIDL_NUM_OUT_BUFS ((int32_t) 16) 109 #define TIDL_STRING_SIZE ((int32_t) 512) 110 #define TIDL_MAX_DATA_BUFS ((int32_t) 1024) 111 #define TIDL_MAX_ALG_IN_BUFS ((int32_t) 32) 112 #define TIDL_MAX_ALG_OUT_BUFS ((int32_t) 32) 113 #define TIDL_MAX_NUM_GROUPS ((int32_t) 64) 114 #define TIDL_MAX_PRIORITY_LEVEL ((int32_t) 8) 115 #define TIDL_MAX_OBJECTS_PER_LEVEL ((int32_t) 16) 117 #if defined (SOC_J784S4) 118 #define TIDL_MAX_NUM_CORES (4) 120 #define TIDL_MAX_NUM_CORES (1) 151 #define TIDL_DataLayer ((int32_t) 0) 152 #define TIDL_ConvolutionLayer ((int32_t) 1) 153 #define TIDL_PoolingLayer ((int32_t) 2) 154 #define TIDL_ReLULayer ((int32_t) 3) 155 #define TIDL_PReLULayer ((int32_t) 4) 156 #define TIDL_EltWiseLayer ((int32_t) 5) 157 #define TIDL_InnerProductLayer ((int32_t) 6) 158 #define TIDL_SoftMaxLayer ((int32_t) 7) 159 #define TIDL_BatchNormLayer ((int32_t) 8) 160 #define TIDL_BiasLayer ((int32_t) 9) 161 #define TIDL_ScaleLayer ((int32_t) 10) 162 #define TIDL_Deconv2DLayer ((int32_t) 11) 163 #define TIDL_ConcatLayer ((int32_t) 12) 164 #define TIDL_SplitLayer ((int32_t) 13) 165 #define TIDL_SliceLayer ((int32_t) 14) 166 #define TIDL_CropLayer ((int32_t) 15) 167 #define TIDL_FlattenLayer ((int32_t) 16) 168 #define TIDL_DropOutLayer ((int32_t) 17) 169 #define TIDL_ArgMaxLayer ((int32_t) 18) 170 #define TIDL_DetectionOutputLayer ((int32_t) 19) 171 #define TIDL_ShuffleChannelLayer ((int32_t) 20) 172 #define TIDL_ResizeLayer ((int32_t) 21) 173 #define TIDL_RoiPoolingLayer ((int32_t) 22) 174 #define TIDL_OdPostProcessingLayer ((int32_t) 23) 175 #define TIDL_DepthToSpaceLayer ((int32_t) 24) 176 #define TIDL_SigmoidLayer ((int32_t) 25) 177 #define TIDL_PadLayer ((int32_t) 26) 178 #define TIDL_ColorConversionLayer ((int32_t) 27) 179 #define TIDL_OdOutputReformatLayer ((int32_t) 28) 180 #define TIDL_DataConvertLayer ((int32_t) 29) 181 #define TIDL_CustomLayer ((int32_t) 30) 182 #define TIDL_BatchReshapeLayer ((int32_t) 31) 183 #define TIDL_ReduceLayer ((int32_t) 32) 184 #define TIDL_ScatterElementsLayer ((int32_t) 33) 185 #define TIDL_SqueezeLayer ((int32_t) 34) 186 #define TIDL_TanhLayer ((int32_t) 35) 187 #define TIDL_HardSigmoidLayer ((int32_t) 36) 188 #define TIDL_ELULayer ((int32_t) 37) 189 #define TIDL_ReshapeLayer ((int32_t) 38) 190 #define TIDL_ConstDataLayer ((int32_t) 39) 191 #define TIDL_GatherLayer ((int32_t) 40) 192 #define TIDL_TransposeLayer ((int32_t) 41) 193 #define TIDL_LayerNormLayer ((int32_t) 42) 194 #define TIDL_UnsupportedLayer ((int32_t) 43) 205 #define TIDL_HighPrecisionKernel ((int32_t) 0) 206 #define TIDL_HighThroughputKernel ((int32_t) 1) 217 #define TIDL_UnsignedChar ((int32_t) 0) 218 #define TIDL_SignedChar ((int32_t) 1) 219 #define TIDL_UnsignedShort ((int32_t) 2) 220 #define TIDL_SignedShort ((int32_t) 3) 221 #define TIDL_UnsignedWord ((int32_t) 4) 222 #define TIDL_SignedWord ((int32_t) 5) 223 #define TIDL_SinglePrecFloat ((int32_t) 6) 224 #define TIDL_UnsignedDoubleWord ((int32_t) 7) 225 #define TIDL_SignedDoubleWord ((int32_t) 8) 238 #define TIDL_LT_NCHW ((uint32_t) 0) 239 #define TIDL_LT_NHWC ((uint32_t) 1) 240 #define TIDL_LT_MAX (TIDLRT_LT_NHWC+1) 252 #define TIDL_DC_TYPE_INPUT ((uint32_t) 0) 253 #define TIDL_DC_TYPE_OUTPUT ((uint32_t) 1) 254 #define TIDL_DC_TYPE_INTERMEDIATE ((uint32_t) 2) 255 #define TIDL_DC_TYPE_MAX (TIDL_DC_TYPE_INTERMEDIATE+1) 269 #define TIDL_QuantStyleFixed ((int32_t) 0) 272 #define TIDL_QuantStyleDynamic ((int32_t) 1) 275 #define TIDL_QuantStyleNP2Fixed ((int32_t) 2) 278 #define TIDL_QuantStyleP2Dynamic ((int32_t) 3) 281 #define TIDL_QuantStyleNonP2 284 #define TIDL_QuantStyleAsymNP2_TFL ((int32_t) 5) 288 #define TIDL_QuantStyleAsymNP2 ((int32_t) 6) 291 #define TIDL_QuantStyleCustom ((int32_t) 10) 306 #define TIDL_CalibOptionActivationRange ((int32_t) 1) 311 #define TIDL_CalibOptionWeightRange ((int32_t) 2) 313 #define TIDL_CalibOptionBiasCalibration ((int32_t) 4) 317 #define TIDL_CalibOptionPerChannelWeightQuantization ((int32_t) 8) 323 #define TIDL_CalibOptionMixedPrecisionDepthwise ((int32_t) 16) 326 #define TIDL_CalibOptionMixedPrecisionInput ((int32_t) 32) 329 #define TIDL_CalibOptionBiasRange ((int32_t) 64) 344 #define TIDL_ActivationRangeMethodHistogram ((int32_t) 0) 350 #define TIDL_ActivationRangeMethodGlobalHistogram ((int32_t) 1) 365 #define TIDL_WeightRangeMethodHistogram ((int32_t) 0) 368 #define TIDL_WeightRangeMethodMedian ((int32_t) 1) 383 #define TIDL_OptimiseExtMemL0 ((int32_t) 0) 387 #define TIDL_OptimiseExtMemL1 ((int32_t) 1) 391 #define TIDL_OptimiseExtMemL2 ((int32_t) 2) 403 #define TIDL_Sparse ((int32_t) 0) 405 #define TIDL_Dense ((int32_t) 1) 417 #define TIDL_StrideOffsetTopLeft ((int32_t) 0) 418 #define TIDL_StrideOffsetCenter ((int32_t) 1) 419 #define TIDL_StrideOffsetMax ((int32_t) 2) 430 #define TIDL_MaxPooling ((int32_t) 0) 431 #define TIDL_AveragePooling ((int32_t) 1) 443 #define TIDL_NoAct ((int32_t) 0) 444 #define TIDL_RelU ((int32_t) 1) 445 #define TIDL_PRelU ((int32_t) 2) 446 #define TIDL_RelU6 ((int32_t) 3) 447 #define TIDL_Clip ((int32_t) 4) 448 #define TIDL_Sigmoid ((int32_t) 5) 449 #define TIDL_Tanh ((int32_t) 6) 450 #define TIDL_HardSigmoid ((int32_t) 7) 451 #define TIDL_ELU ((int32_t) 8) 452 #define TIDL_GELU ((int32_t) 9) 463 #define TIDL_EltWiseProduct ((int32_t) 0) 464 #define TIDL_EltWiseSum ((int32_t) 1) 465 #define TIDL_EltWiseMax ((int32_t) 2) 476 #define TIDL_DIM_BATCH ((int32_t) 0) 477 #define TIDL_DIM_DIM1 ((int32_t) 1) 478 #define TIDL_DIM_DIM2 ((int32_t) 2) 479 #define TIDL_DIM_NUMCH ((int32_t) 3) 480 #define TIDL_DIM_HEIGHT ((int32_t) 4) 481 #define TIDL_DIM_WIDTH ((int32_t) 5) 482 #define TIDL_DIM_MAX ((int32_t) 6) 494 #define TIDL_SYMMETRIC_TENSOR (0U) 495 #define TIDL_ASYMMETRIC_TENSOR (1U) 506 #define TIDL_ROI_PITCH ((uint32_t) 0) 507 #define TIDL_DIM1_PITCH ((uint32_t) 1) 508 #define TIDL_DIM2_PITCH ((uint32_t) 2) 509 #define TIDL_CHANNEL_PITCH ((uint32_t) 3) 510 #define TIDL_LINE_PITCH ((uint32_t) 4) 511 #define TIDL_PITCH_MAX ((uint32_t) (TIDL_DIM_MAX - 1)) 524 #define TIDL_E_CONVOLUTION ((int32_t) -1000) 525 #define TIDL_E_CONV_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 0)) 526 #define TIDL_E_CONV_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 1)) 527 #define TIDL_E_CONV_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 2)) 528 #define TIDL_E_CONV_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 3)) 529 #define TIDL_E_CONV_INVALID_NUM_IN_CHANNELS ((int32_t) (TIDL_E_CONVOLUTION - 4)) 530 #define TIDL_E_CONV_INVALID_NUM_OUT_CHANNELS ((int32_t) (TIDL_E_CONVOLUTION - 5)) 531 #define TIDL_E_CONV_INVALID_KER_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 6)) 532 #define TIDL_E_CONV_INVALID_KER_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 7)) 533 #define TIDL_E_CONV_INVALID_KER_TYPE ((int32_t) (TIDL_E_CONVOLUTION - 8)) 534 #define TIDL_E_CONV_INVALID_STRIDE_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 9)) 535 #define TIDL_E_CONV_INVALID_STRIDE_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 10)) 536 #define TIDL_E_CONV_NEGATIVE_OUTPUT_SHIFT ((int32_t) (TIDL_E_CONVOLUTION - 11)) 538 #define TIDL_E_CONV_POOL_INVALID_POOL_TYPE ((int32_t) (TIDL_E_CONVOLUTION - 12)) 539 #define TIDL_E_CONV_POOL_INVALID_KER_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 13)) 540 #define TIDL_E_CONV_POOL_INVALID_KER_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 14)) 541 #define TIDL_E_CONV_POOL_INVALID_STRIDE_WIDTH ((int32_t) (TIDL_E_CONVOLUTION - 15)) 542 #define TIDL_E_CONV_POOL_INVALID_STRIDE_HEIGHT ((int32_t) (TIDL_E_CONVOLUTION - 16)) 544 #define TIDL_E_ELTWISE ((int32_t) -1020) 545 #define TIDL_E_ELTWISE_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_ELTWISE - 0)) 546 #define TIDL_E_ELTWISE_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_ELTWISE - 1)) 547 #define TIDL_E_ELTWISE_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_ELTWISE - 2)) 548 #define TIDL_E_ELTWISE_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_ELTWISE - 3)) 549 #define TIDL_E_ELTWISE_INVALID_ELTWISE_TYPE ((int32_t) (TIDL_E_ELTWISE - 4)) 550 #define TIDL_E_ELTWISE_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_ELTWISE - 5)) 552 #define TIDL_E_POOLING ((int32_t) -1030) 553 #define TIDL_E_POOL_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_POOLING - 0)) 554 #define TIDL_E_POOL_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_POOLING - 1)) 555 #define TIDL_E_POOL_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_POOLING - 2)) 556 #define TIDL_E_POOL_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_POOLING - 3)) 557 #define TIDL_E_POOL_INVALID_POOL_TYPE ((int32_t) (TIDL_E_POOLING - 4)) 558 #define TIDL_E_POOL_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_POOLING - 5)) 559 #define TIDL_E_POOL_INVALID_KER_WIDTH ((int32_t) (TIDL_E_POOLING - 6)) 560 #define TIDL_E_POOL_INVALID_KER_HEIGHT ((int32_t) (TIDL_E_POOLING - 7)) 561 #define TIDL_E_POOL_INVALID_STRIDE_WIDTH ((int32_t) (TIDL_E_POOLING - 8)) 562 #define TIDL_E_POOL_INVALID_STRIDE_HEIGHT ((int32_t) (TIDL_E_POOLING - 9)) 564 #define TIDL_E_INNER_PRODUCT ((int32_t) -1040) 565 #define TIDL_E_IP_INVALID_NUM_IN_NODES ((int32_t) (TIDL_E_INNER_PRODUCT - 0)) 566 #define TIDL_E_IP_INVALID_NUM_OUT_NODES ((int32_t) (TIDL_E_INNER_PRODUCT - 1)) 567 #define TIDL_E_IP_NEGATIVE_OUTPUT_SHIFT ((int32_t) (TIDL_E_INNER_PRODUCT - 2)) 569 #define TIDL_E_ARGMAX ((int32_t) -1050) 570 #define TIDL_E_ARGMAX_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_ARGMAX - 0)) 572 #define TIDL_E_BN ((int32_t) -1060) 573 #define TIDL_E_BN_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_BN - 0)) 574 #define TIDL_E_BN_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_BN - 1)) 575 #define TIDL_E_BN_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_BN - 2)) 576 #define TIDL_E_BN_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_BN - 3)) 577 #define TIDL_E_BN_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_BN - 4)) 578 #define TIDL_E_BN_INVALID_ENABLE_RELU ((int32_t) (TIDL_E_BN - 5)) 579 #define TIDL_E_BN_NEGATIVE_OUTPUT_SHIFT ((int32_t) (TIDL_E_BN - 6)) 581 #define TIDL_E_CROP ((int32_t) -1070) 582 #define TIDL_E_CROP_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_CROP - 0)) 583 #define TIDL_E_CROP_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_CROP - 1)) 584 #define TIDL_E_CROP_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_CROP - 2)) 585 #define TIDL_E_CROP_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_CROP - 3)) 586 #define TIDL_E_CROP_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_CROP - 4)) 587 #define TIDL_E_CROP_INVALID_OFFSET_WIDTH ((int32_t) (TIDL_E_CROP - 5)) 588 #define TIDL_E_CROP_INVALID_OFFSET_HEIGHT ((int32_t) (TIDL_E_CROP - 6)) 590 #define TIDL_E_FLATTEN ((int32_t) -1080) 591 #define TIDL_E_FLATTEN_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_FLATTEN - 0)) 592 #define TIDL_E_FLATTEN_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_FLATTEN - 1)) 593 #define TIDL_E_FLATTEN_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_FLATTEN - 2)) 594 #define TIDL_E_FLATTEN_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_FLATTEN - 3)) 596 #define TIDL_E_SOFTMAX ((int32_t) -1090) 597 #define TIDL_E_SOFTMAX_INVALID_NUM_CHANNELS ((int32_t) (TIDL_E_SOFTMAX - 0)) 599 #define TIDL_E_SHUFFLECHANNEL ((int32_t) -1100) 600 #define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_WIDTH ((int32_t) (TIDL_E_SHUFFLECHANNEL - 0)) 601 #define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_HEIGHT ((int32_t) (TIDL_E_SHUFFLECHANNEL - 1)) 602 #define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_WIDTH ((int32_t) (TIDL_E_SHUFFLECHANNEL - 2)) 603 #define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_HEIGHT ((int32_t) (TIDL_E_SHUFFLECHANNEL - 3)) 604 #define TIDL_E_SHUFFLECHANNEL_INVALID_NUM_GROUPS ((int32_t) (TIDL_E_SHUFFLECHANNEL - 4)) 606 #define TIDL_NOT_MULTI_CORE ((int32_t) 0) 607 #define TIDL_MULTI_CORE ((int32_t) (TIDL_NOT_MULTI_CORE + 1)) 608 #define TIDL_MULTI_CORE_CROP_JOIN ((int32_t) (TIDL_NOT_MULTI_CORE + 2)) 609 #define TIDL_MULTI_CORE_CROP_SPLIT ((int32_t) (TIDL_NOT_MULTI_CORE + 3)) 611 #define TIDL_E_LAYERNORM ((int32_t) -1110) 612 #define TIDL_E_LAYERNORM_INSUFFICIENT_REF_SCRATCH ((int32_t) (TIDL_E_LAYERNORM - 0)) 613 #define TIDL_E_LAYERNORM_UNSUPPORTED_AXIS ((int32_t) (TIDL_E_LAYERNORM - 1)) 616 #define TIDL_E_COMMON ((int32_t) -1120) 617 #define TIDL_E_UNSUPPORTED_LAYER ((int32_t) (TIDL_E_COMMON - 0)) 618 #define TIDL_E_DATAFLOW_INFO_NULL ((int32_t) (TIDL_E_COMMON - 1)) 619 #define TIDL_E_INVALID_DEBUG_TRACE_PRM ((int32_t) (TIDL_E_COMMON - 2)) 620 #define TIDL_E_INVALID_NET_VERSION ((int32_t) (TIDL_E_COMMON - 3)) 621 #define TIDL_E_INVALID_IO_LINE_PITCH ((int32_t) (TIDL_E_COMMON - 4)) 622 #define TIDL_E_QUANT_STATS_NOT_AVAILABALE ((int32_t) (TIDL_E_COMMON - 5)) 623 #define TIDL_E_INVALID_DDR_INFO_FROM_GC ((int32_t) (TIDL_E_COMMON - 6)) 624 #define TIDL_E_EXCEED_PREEMPTION_LEVEL ((int32_t) (TIDL_E_COMMON - 7)) 625 #define TIDL_E_EXCEED_OBJECTS_PER_LEVEL ((int32_t) (TIDL_E_COMMON - 8)) 628 #define TIDL_E_DEV_ERROR ((int32_t) -1130) 629 #define TIDL_E_OTF_ERROR ((int32_t) (TIDL_E_DEV_ERROR - 0)) 630 #define TIDL_E_ASYM_ERROR ((int32_t) (TIDL_E_DEV_ERROR - 1)) 641 #define TIDL_SYSMEM_L1_SCRATCH ((uint32_t) 0) 642 #define TIDL_SYSMEM_L2_SCRATCH ((uint32_t) 1) 643 #define TIDL_SYSMEM_L3_SCRATCH ((uint32_t) 2) 644 #define TIDL_SYSMEM_DDR_SCRATCH ((uint32_t) 3) 645 #define TIDL_SYSMEM_MAX ((uint32_t) 4) 658 #define TIDL_EXEC_MODE_STATS_COLLECTION ((int32_t) 0) 660 #define TIDL_EXEC_MODE_INFER_PROCESS ((int32_t) 2) 661 #define TIDL_EXEC_MODE_INFER_PROCESS_REF ((int32_t) 3) 672 #define TIDL_PROFILE_LAYER ((int32_t) 0) 673 #define TIDL_PROFILE_KERNEL_ONLY ((int32_t) 1) 674 #define TIDL_PROFILE_CORE_LOOP ((int32_t) 2) 675 #define TIDL_PROFILE_LAYER_SETUP ((int32_t) 3) 676 #define TIDL_PROFILE_PREFETCH ((int32_t) 4) 677 #define TIDL_PROFILE_DMA_PIPEUP ((int32_t) 5) 678 #define TIDL_PROFILE_LAYER_WITHOUT_PADDING ((int32_t) 6) 679 #define TIDL_PROFILE_LAYER_PADDING_TRIGGER ((int32_t) 7) 680 #define TIDL_PROFILE_LAYER_PADDING_WAIT ((int32_t) 8) 681 #define TIDL_PROFILE_KERNEL_COPY ((int32_t) 9) 682 #define TIDL_PROFILE_LAYER_SETUP_HANDLE_COPY ((int32_t) 10) 683 #define TIDL_PROFILE_LAYER_DEINIT ((int32_t) 11) 684 #define TIDL_PROFILE_LAST_BLOCK_CYCLES ((int32_t) 12) 685 #define TIDL_PROFILE_DMA_PIPEDOWN ((int32_t) 13) 686 #define TIDL_PROFILE_BACKUP ((int32_t) 14) 687 #define TIDL_PROFILE_RESTORE ((int32_t) 15) 688 #define TIDL_PROFILE_MAX ((int32_t) 16) 1417 #define TIDL_OD_MAX_KEYPOINTS (16) 1418 #define TIDL_OD_MAX_ANCHORS_PER_HEAD (16) 1816 #define TIDL_NET_STRUCTURE_BUF ((uint32_t) 0) 1817 #define TIDL_NET_PARAMS_BUF ((uint32_t) 1) 1818 #define TIDL_NET_COMPILER_BUF ((uint32_t) 2) 1819 #define TIDL_NET_GC_BUF ((uint32_t) 3) 1820 #define TIDL_NET_TOTAL_BUF ((uint32_t) 4) 1824 #define TIDL_NET_VERSION (0x20231122) 2062 int32_t odObjectFormat){
2063 *odObjectType = *odObjectType | ( 1 << odObjectFormat) ;
2064 return *odObjectType;
2067 int32_t odObjectFormat){
2068 int32_t odObjectFormatState;
2069 odObjectFormatState = odObjectType & ( 1 << odObjectFormat) ;
2070 return odObjectFormatState;
2139 #define TIDL_OD_MAX_KEY_POINTS (32) 2331 int32_t(*TIDLVprintf)(
const char * format, va_list arg);
2335 int32_t(*TIDLWriteBinToFile)(
const char * fileName,
void * addr, int32_t size, int32_t count);
2337 int32_t(*TIDLReadBinFromFile)(
const char * fileName,
void * addr, int32_t size, int32_t count);
2354 int32_t (*TIDL_CustomLayerProcess)(
void * tidlHandle,
2359 void *dmaUtilsContext,
2432 #define TIVX_TIDL_CMD_GET_C7X_PTRS (0x10000001u) 2433 #define TIVX_TIDL_CMD_SET_C7X_PTRS (0x10000002u) 2434 #define TIVX_TIDL_CMD_INIT (0x10000003u) 2470 #if defined(x86_64) || defined(HOST_EMULATION) int32_t enableEltWise
Definition: itidl_ti.h:1232
Definition: itidl_ti.h:1680
int32_t multiCoreMode
Definition: itidl_ti.h:1644
This structure define the parameters Soft max layer in TIDL.
Definition: itidl_ti.h:1614
This structure define the parameters of Gather layer in TIDL.
Definition: itidl_ti.h:812
float32_tidl maxTensorValue
Definition: itidl_ti.h:759
int32_t weights
Definition: itidl_ti.h:1534
Definition: itidl_ti.h:1916
sTIDL_odOutputReformatLayerParams_t odOutputReformatLayerParams
Definition: itidl_ti.h:1753
float32_tidl xmin
Definition: itidl_ti.h:2184
Definition: itidl_ti.h:1902
int32_t biasQ
Definition: itidl_ti.h:1494
Definition: itidl_ti.h:938
sTIDL_SliceLayerParams_t sliceParams
Definition: itidl_ti.h:1748
int32_t padType
Definition: itidl_ti.h:857
float32_tidl quantRangeUpdateFactor
Definition: itidl_ti.h:2290
int32_t numSubHeads
Definition: itidl_ti.h:1375
int32_t strideW
Definition: itidl_ti.h:1064
int32_t numVirtualCores
Definition: itidl_ti.h:1955
float32_tidl r22
Definition: itidl_ti.h:2158
sTIDL_ShuffleLayerParams_t shuffleLayerParams
Definition: itidl_ti.h:1747
This structure define the parameters ScatterElements layer in TIDL.
Definition: itidl_ti.h:1689
int32_t offset
Definition: itidl_ti.h:733
sTIDL_ConstDataParams_t constDataParams
Definition: itidl_ti.h:1758
Definition: itidl_ti.h:1412
float32_tidl clipMin
Definition: itidl_ti.h:985
IVISION_InArgs iVisionInArgs
Definition: itidl_ti.h:2374
int32_t strideOffsetMethod
Definition: itidl_ti.h:1796
int32_t upscaleFactor
Definition: itidl_ti.h:1241
Definition: itidl_ti.h:1264
float32_tidl ObjId
Definition: itidl_ti.h:2203
float32_tidl biasScale
Definition: itidl_ti.h:1504
int32_t traceWriteLevel
Definition: itidl_ti.h:2294
int32_t numGroups
Definition: itidl_ti.h:1184
float32_tidl y
Definition: itidl_ti.h:2133
int32_t numInCols
Definition: itidl_ti.h:1552
Definition: itidl_ti.h:1914
int32_t perChannelPadConstTensorOffset
Definition: itidl_ti.h:860
sTIDL_DetectionLayerSubCodeParams_t subCodeParams
Definition: itidl_ti.h:1367
int32_t padB
Definition: itidl_ti.h:1074
int32_t isBroadcast
Definition: itidl_ti.h:1606
sTIDL_ReduceParams_t reduceParams
Definition: itidl_ti.h:1756
Definition: itidl_ti.h:1938
int32_t kernelType
Definition: itidl_ti.h:1236
int32_t numInData
Definition: itidl_ti.h:1594
int32_t padR
Definition: itidl_ti.h:853
int32_t multiCoreMode
Definition: itidl_ti.h:1798
int32_t reduction
Definition: itidl_ti.h:1699
int32_t layersGroupId
Definition: itidl_ti.h:1792
float32_tidl kpt_confidence
Definition: itidl_ti.h:2135
eTIDL_inReduceOp
This enumerator defines the different indata formats.
Definition: itidl_ti.h:1934
int32_t weightScales
Definition: itidl_ti.h:1538
float32_tidl clipMax
Definition: itidl_ti.h:987
This union define the layer specific parameters of all the supported layers in TIDL.
Definition: itidl_ti.h:1734
int32_t padW
Definition: itidl_ti.h:1198
Definition: itidl_ti.h:1288
Definition: itidl_ti.h:2227
int32_t isInbufsPaded
Definition: itidl_ti.h:2283
int32_t roundBits
Definition: itidl_ti.h:779
int32_t numInRows
Definition: itidl_ti.h:1550
float32_tidl percentileActRangeShrink
Definition: itidl_ti.h:1017
int32_t resvd
Definition: itidl_ti.h:827
int32_t quantizationStyle
Definition: itidl_ti.h:1848
This structure define the parameters Dat Convert layer in TIDL.
Definition: itidl_ti.h:1653
int32_t biasQ
Definition: itidl_ti.h:1520
int32_t poolingType
Definition: itidl_ti.h:1058
int32_t kernelW
Definition: itidl_ti.h:1060
Definition: itidl_ti.h:2236
#define TIDL_NUM_MAX_LAYERS
Definition: itidl_ti.h:106
Definition: itidl_ti.h:935
sTIDL_ScatterElementsParams_t scatterElementsParams
Definition: itidl_ti.h:1757
void * udmaDrvObj
Definition: itidl_ti.h:2314
This structure contains all the parameters which TI DL library at create time.
Definition: itidl_ti.h:2276
Definition: itidl_ti.h:1893
int32_t processingType
Definition: itidl_ti.h:1329
float32_tidl ymin
Definition: itidl_ti.h:2186
int32_t inDataQ
Definition: itidl_ti.h:1222
This structure defines the Input and output buffer descriptors required for a given Layer group...
Definition: itidl_ti.h:1946
This structure contains the 6D object pose information of BBox detected by OD layer.
Definition: itidl_ti.h:2147
int32_t inDataQ
Definition: itidl_ti.h:1496
sTIDL_BiasParams_t biasParams
Definition: itidl_ti.h:1745
This structure define the parameters of ROI Pooling layer in TIDL.
Definition: itidl_ti.h:950
static float32_tidl TIDL_getWorstcaseDelayForPreemption(sTIDL_Network_t *net)
Definition: itidl_ti.h:2442
Definition: itidl_ti.h:885
static int32_t TIDL_SetObjDetectionFormat(int32_t *odObjectType, int32_t odObjectFormat)
Definition: itidl_ti.h:2061
Definition: itidl_ti.h:1286
int32_t codeType
Definition: itidl_ti.h:1339
Definition: itidl_ti.h:1266
int32_t numKeyPoints
Definition: itidl_ti.h:1431
#define TIDL_SYSMEM_MAX
Definition: itidl_ti.h:645
int32_t blockSize
Definition: itidl_ti.h:837
sTIDL_ResizeLayerParams_t resizeParams
Definition: itidl_ti.h:1749
sTIDL_Network_t * net
Definition: itidl_ti.h:2316
Definition: itidl_ti.h:1265
int32_t numChannels
Definition: itidl_ti.h:1042
sTIDL_RoiPoolingLayerParams_t roiPoolingParams
Definition: itidl_ti.h:1750
int32_t inputATranspose
Definition: itidl_ti.h:1576
sTIDL_ActParams_t actParams
Definition: itidl_ti.h:1773
eTIDL_DetectionOutputFormat
This enumerator defines the differnt types of OD format indicated by TIDL_ODLayerHeaderInfo::odObject...
Definition: itidl_ti.h:2053
int32_t offsetH
Definition: itidl_ti.h:1642
float32_tidl strideH
Definition: itidl_ti.h:1439
int32_t enableLayerPerfTraces
Definition: itidl_ti.h:2380
float32_tidl yaw
Definition: itidl_ti.h:2221
int32_t kernelW
Definition: itidl_ti.h:1186
int32_t numLayers
Definition: itidl_ti.h:1836
int32_t dataId
Definition: itidl_ti.h:745
This structure contains all the parameters which are required by TIDL control callbacks for SET comma...
Definition: itidl_ti.h:2265
int32_t zeroWeightValue
Definition: itidl_ti.h:1506
This structure defines the system memory handles in TIDL There are total four handles: 0: L1...
Definition: itidl_ti.h:729
Definition: itidl_ti.h:886
int32_t netVersion
Definition: itidl_ti.h:1832
char traceBaseName[TIDL_STRING_SIZE]
Definition: itidl_ti.h:2309
int32_t outDataQ
Definition: itidl_ti.h:1638
Definition: itidl_ti.h:934
sTIDL_CalibParams_t calibrationParams
Definition: itidl_ti.h:1859
float32_tidl biasCalibrationFactor
Definition: itidl_ti.h:1027
float32_tidl score
Definition: itidl_ti.h:2207
void * base
Definition: itidl_ti.h:731
int32_t rsvdPassThrough
Definition: itidl_ti.h:1145
int32_t biasB
Definition: itidl_ti.h:1572
static int TIDL_createParamsInit(TIDL_CreateParams *params)
Definition: itidl_ti.h:2447
Definition: itidl_ti.h:1259
This structure define the parameters of Pad layer in TIDL.
Definition: itidl_ti.h:845
int32_t isDataConvertNeeded
Definition: itidl_ti.h:1723
int32_t numInBufs
Definition: itidl_ti.h:2376
int32_t imHeight
Definition: itidl_ti.h:956
int32_t enablePooling
Definition: itidl_ti.h:1230
Definition: itidl_ti.h:1260
int32_t coreID
Definition: itidl_ti.h:1789
sTIDL_SoftMaxParams_t softMaxParams
Definition: itidl_ti.h:1741
float32_tidl pX
Definition: itidl_ti.h:1303
int32_t numBatches
Definition: itidl_ti.h:1548
#define TIDL_MAX_ALG_IN_BUFS
Definition: itidl_ti.h:111
eTIDL_inResizeType
This enumerator defines the different indata formats.
Definition: itidl_ti.h:1923
int32_t graphCompilerInfoOffset
Definition: itidl_ti.h:1863
int32_t axis
Definition: itidl_ti.h:969
int32_t imWidth
Definition: itidl_ti.h:954
This structure define the parameters Transpose layer in TIDL.
Definition: itidl_ti.h:1721
int32_t outZeroPoint
Definition: itidl_ti.h:1659
Definition: itidl_ti.h:2242
int32_t enableEWRelU
Definition: itidl_ti.h:1234
sTIDL_CameraIntrinsicsParams_t cameraParams
Definition: itidl_ti.h:1317
sTIDL_CropParams_t cropParams
Definition: itidl_ti.h:1742
This structure define the parameters spatial Pooling layer in TIDL.
Definition: itidl_ti.h:1054
Definition: itidl_ti.h:1316
int32_t outDataQ
Definition: itidl_ti.h:1082
void * tracePtr
Definition: itidl_ti.h:2333
Definition: itidl_ti.h:1678
int32_t stride
Definition: itidl_ti.h:971
int32_t derivedShifts
Definition: itidl_ti.h:1173
int32_t padT
Definition: itidl_ti.h:847
int32_t dilationW
Definition: itidl_ti.h:1194
int32_t flowCtrl
Definition: itidl_ti.h:2298
int32_t elementType
Definition: itidl_ti.h:747
int32_t outDataQ
Definition: itidl_ti.h:1620
int32_t minValue
Definition: itidl_ti.h:753
Definition: itidl_ti.h:2238
int32_t keepDims
Definition: itidl_ti.h:1671
#define TIDL_DIM_MAX
Definition: itidl_ti.h:482
int32_t dilationH
Definition: itidl_ti.h:1196
Definition: itidl_ti.h:965
float float32_tidl
Definition: itidl_ti.h:124
int32_t biasQ
Definition: itidl_ti.h:1596
float32_tidl weightScale
Definition: itidl_ti.h:1558
Definition: itidl_ti.h:1927
int32_t numInChannels
Definition: itidl_ti.h:1180
Definition: itidl_ti.h:1904
int32_t padH
Definition: itidl_ti.h:769
float32_tidl biasScale
Definition: itidl_ti.h:1560
This structure define the parameters Arg max layer in TIDL.
Definition: itidl_ti.h:1040
int32_t poolingType
Definition: itidl_ti.h:952
sTIDL_PoolingParams_t poolParams
Definition: itidl_ti.h:1243
int32_t biasScales
Definition: itidl_ti.h:1165
float32_tidl offsetH
Definition: itidl_ti.h:1445
Definition: itidl_ti.h:919
int32_t weightZeroPoints
Definition: itidl_ti.h:1540
int32_t numChannels
Definition: itidl_ti.h:1634
int32_t padT
Definition: itidl_ti.h:1206
Definition: itidl_ti.h:800
This structure define the parameters of Bias layer in TIDL.
Definition: itidl_ti.h:1514
int32_t outDataQ
Definition: itidl_ti.h:1224
This structure contains the each object's information detected by Objection detection layer...
Definition: itidl_ti.h:2175
float32_tidl x
Definition: itidl_ti.h:2131
Definition: itidl_ti.h:1925
int32_t doesLayerFillOutXPadding
Definition: itidl_ti.h:1143
float32_tidl z
Definition: itidl_ti.h:2213
Definition: itidl_ti.h:2230
sTIDL_TransposeParams_t transposeParams
Definition: itidl_ti.h:1759
int32_t zeroWeightValue
Definition: itidl_ti.h:1216
int32_t slope
Definition: itidl_ti.h:981
sTIDL_sysMemHandle_t sTIDL_NetBuffer_t
Definition: itidl_ti.h:736
float32_tidl epsilon
Definition: itidl_ti.h:804
float32_tidl nmsThreshold
Definition: itidl_ti.h:1345
sTIDL_ConvParams_t convParams
Definition: itidl_ti.h:1735
int32_t padB
Definition: itidl_ti.h:1208
int32_t outDataQ
Definition: itidl_ti.h:1524
This structure define the parameters of Detection Output Layer in TIDL.
Definition: itidl_ti.h:1327
Definition: itidl_ti.h:1891
float32_tidl quantRangeExpansionFactor
Definition: itidl_ti.h:2287
eTIDL_PadLayerPadType
This enumerator defines the different types of padding supported by TIDL library. ...
Definition: itidl_ti.h:917
This structure define the parameters of ReLU activation layer in TIDL.
Definition: itidl_ti.h:997
int32_t coreStartIdx
Definition: itidl_ti.h:2321
int32_t tensorZeroPoint
Definition: itidl_ti.h:763
int32_t offset
Definition: itidl_ti.h:707
This structure define the parameters of Data layer in TIDL.
Definition: itidl_ti.h:793
int32_t outDataQ
Definition: itidl_ti.h:1046
Definition: itidl_ti.h:1681
#define TIDL_OD_MAX_KEY_POINTS
Definition: itidl_ti.h:2139
int32_t inferenceMode
Definition: itidl_ti.h:1959
int32_t numOutBufs
Definition: itidl_ti.h:1781
int32_t varianceEncoded
Definition: itidl_ti.h:1359
int32_t outDataQ
Definition: itidl_ti.h:1568
sTIDL_LayerNormParams_t layerNormParams
Definition: itidl_ti.h:1761
float32_tidl biasScale
Definition: itidl_ti.h:1212
int32_t padB
Definition: itidl_ti.h:849
int32_t outDataQ
Definition: itidl_ti.h:1600
int32_t biasZeroPoints
Definition: itidl_ti.h:1167
int32_t kernelH
Definition: itidl_ti.h:1188
float32_tidl fY
Definition: itidl_ti.h:1301
int32_t activationType
Definition: itidl_ti.h:1546
Definition: itidl_ti.h:1277
float32_tidl ObjId
Definition: itidl_ti.h:2178
int32_t weightsQ
Definition: itidl_ti.h:1500
float32_tidl offsetL
Definition: itidl_ti.h:1447
int32_t bias
Definition: itidl_ti.h:1588
#define TIDL_NUM_OUT_BUFS
Definition: itidl_ti.h:108
Definition: itidl_ti.h:2057
This structure define common parameters ReduceMax/ReduceMin layer in TIDL.
Definition: itidl_ti.h:1667
int32_t(* TIDL_Lock_t)(void)
Call back function pointer to lock interrupts.
Definition: itidl_ti.h:133
eTIDL_SubCodeType
This enumerator defines the differnt types of subCodeParams indicated by sTIDL_DetectOutputParams_t::...
Definition: itidl_ti.h:1410
TIDL_Lock_t pFxnLock
Definition: itidl_ti.h:2327
int32_t layerKernelType
Definition: itidl_ti.h:1777
int32_t padW
Definition: itidl_ti.h:767
int32_t interDataQ
Definition: itidl_ti.h:1226
float32_tidl weightScale
Definition: itidl_ti.h:1502
int32_t quantizationStyle
Definition: itidl_ti.h:1249
float32_tidl score
Definition: itidl_ti.h:2182
int32_t numSuperBatches
Definition: itidl_ti.h:1957
int32_t outDataQ
Definition: itidl_ti.h:1498
float32_tidl weightScale
Definition: itidl_ti.h:1210
float32_tidl percentileWtRangeShrink
Definition: itidl_ti.h:1024
int32_t numOutputBuf
Definition: itidl_ti.h:1951
uint8_t mmaScale
Definition: itidl_ti.h:1602
float32_tidl tensorScale
Definition: itidl_ti.h:761
This structure define the parameters Convolution Layer in TIDL.
Definition: itidl_ti.h:1155
int32_t offsetW
Definition: itidl_ti.h:1640
Definition: itidl_ti.h:1258
int32_t numBatchW
Definition: itidl_ti.h:775
int32_t maxPointsPerVoxel
Definition: itidl_ti.h:1390
int32_t offset
Definition: itidl_ti.h:1709
void * ptr
Definition: itidl_ti.h:705
Definition: itidl_ti.h:931
int32_t inDataQ
Definition: itidl_ti.h:1044
float32_tidl l
Definition: itidl_ti.h:2217
float32_tidl offsetDir
Definition: itidl_ti.h:1449
This structure define the parameters of Batch Norm layer in TIDL.
Definition: itidl_ti.h:1486
eTIDL_MemTypes
Definition: itidl_ti.h:2234
This structure contains all the parameters which are required by TIDL control callbacks for GET comma...
Definition: itidl_ti.h:2253
Definition: itidl_ti.h:2231
int32_t keepTopK
Definition: itidl_ti.h:1353
This structure define the parameters of Shuffle layer in TIDL.
Definition: itidl_ti.h:823
Definition: itidl_ti.h:1276
#define TIDL_NET_TOTAL_BUF
Definition: itidl_ti.h:1820
int32_t inputBTranspose
Definition: itidl_ti.h:1578
int32_t actType
Definition: itidl_ti.h:989
sTIDL_PadLayerParams_t padLayerParams
Definition: itidl_ti.h:1752
eTIDL_odOutputReformatType
This enumerator defines the different types of output types for the OD output reformatting layer...
Definition: itidl_ti.h:929
int32_t enableBias
Definition: itidl_ti.h:1228
#define TIDL_PROFILE_MAX
Definition: itidl_ti.h:688
int32_t dataElementSize
Definition: itidl_ti.h:1844
int32_t biasQ
Definition: itidl_ti.h:1564
This structure define the common layer parameters in TIDL.
Definition: itidl_ti.h:1770
int32_t scoreConverter
Definition: itidl_ti.h:1393
uint8_t mmaShift
Definition: itidl_ti.h:1603
int32_t inDataQ
Definition: itidl_ti.h:1566
void * privArgs
Definition: itidl_ti.h:2421
eTIDL_metaArchType
This enumerator defines the different Meta Arch types.
Definition: itidl_ti.h:1256
int32_t padH
Definition: itidl_ti.h:1099
Definition: itidl_ti.h:940
int32_t subCodeType
Definition: itidl_ti.h:1365
eTIDL_RoiPoolingType
This enumerator defines the different types of ROI pooling supported by TIDL library.
Definition: itidl_ti.h:906
int32_t convolutionType
Definition: itidl_ti.h:1178
int32_t derivedScales
Definition: itidl_ti.h:1171
int32_t batchPadW
Definition: itidl_ti.h:771
This structure define the parameters of data or kernel buffer used by TIDL layers (In...
Definition: itidl_ti.h:743
sTIDL_LayerParams_t layerParams
Definition: itidl_ti.h:1771
int32_t weights
Definition: itidl_ti.h:1488
Definition: itidl_ti.h:2237
int32_t biasB
Definition: itidl_ti.h:1218
Definition: itidl_ti.h:884
int32_t traceLogLevel
Definition: itidl_ti.h:2292
int32_t axis
Definition: itidl_ti.h:1622
int32_t axis
Definition: itidl_ti.h:1669
int32_t numCores
Definition: itidl_ti.h:1875
This structure define the parameters of ReLU activation layer in TIDL.
Definition: itidl_ti.h:979
This structure define the parameters CNN/Deep learning net in TIDL.
Definition: itidl_ti.h:1830
int32_t biasCalibrationIterations
Definition: itidl_ti.h:1031
int32_t strideH
Definition: itidl_ti.h:1192
int32_t strideH
Definition: itidl_ti.h:1066
int32_t headWidth
Definition: itidl_ti.h:1433
float32_tidl preEmptWorstCaseDelay
Definition: itidl_ti.h:1867
sTIDL_EltWiseParams_t eltWiseParams
Definition: itidl_ti.h:1736
#define TIDL_MAX_ALG_OUT_BUFS
Definition: itidl_ti.h:112
int32_t eltWiseType
Definition: itidl_ti.h:1592
sTIDL_ConcatParams_t concatParams
Definition: itidl_ti.h:1743
int32_t inZeroPoint
Definition: itidl_ti.h:1658
int32_t bias
Definition: itidl_ti.h:1536
int32_t numAnchors
Definition: itidl_ti.h:1429
int32_t numKeypoints
Definition: itidl_ti.h:1361
int32_t priorBox
Definition: itidl_ti.h:1331
float32_tidl h
Definition: itidl_ti.h:2219
int32_t doesLayerChangePadding
Definition: itidl_ti.h:1117
float32_tidl eta
Definition: itidl_ti.h:1347
int32_t useCeil
Definition: itidl_ti.h:1084
int32_t padConstValue
Definition: itidl_ti.h:855
int32_t topK
Definition: itidl_ti.h:1349
int32_t numChannels
Definition: itidl_ti.h:1616
int32_t(* TIDLWriteBinToFile)(const char *fileName, void *addr, int32_t size, int32_t count)
Definition: itidl_ti.h:2335
int32_t padH
Definition: itidl_ti.h:1070
float32_tidl y
Definition: itidl_ti.h:2211
int32_t padH
Definition: itidl_ti.h:1200
int32_t numLayers
Definition: itidl_ti.h:2419
int32_t modelGroupId
Definition: itidl_ti.h:1871
TIDL_sharedBufferProperties ctrlGetArgs
Definition: itidl_ti.h:2255
int32_t optimiseExtMem
Definition: itidl_ti.h:2285
Definition: itidl_ti.h:1937
uint32_t targetPriority
Definition: itidl_ti.h:2324
int32_t inDataQ
Definition: itidl_ti.h:1636
const IVISION_Fxns TIDL_VISION_FXNS
The unique const function table for the TI deep learning algorithm.
double float64_tidl
Definition: itidl_ti.h:126
int32_t interElementSize
Definition: itidl_ti.h:1846
float32_tidl tx
Definition: itidl_ti.h:2162
int32_t numCores
Definition: itidl_ti.h:1953
float32_tidl label
Definition: itidl_ti.h:2180
eTIDL_inferenceMode
This enumerator defines the different inference implementation modes supported by TIDL...
Definition: itidl_ti.h:1900
int32_t size
Definition: itidl_ti.h:732
int32_t forceInPlace
Definition: itidl_ti.h:1111
int32_t numOutCols
Definition: itidl_ti.h:1554
Definition: itidl_ti.h:937
float32_tidl r21
Definition: itidl_ti.h:2152
int32_t slopeElementSize
Definition: itidl_ti.h:1840
sTIDL_BatchNormParams_t batchNormParams
Definition: itidl_ti.h:1746
int32_t dataFlowInfo
Definition: itidl_ti.h:1861
Definition: itidl_ti.h:2056
Definition: itidl_ti.h:942
Definition: itidl_ti.h:908
Definition: itidl_ti.h:1296
eTIDL_inYuvFormat
This enumerator defines the different YUV formats.
Definition: itidl_ti.h:1911
sTIDL_dataConvertParams_t dataConvertParams
Definition: itidl_ti.h:1754
int32_t outTranspose
Definition: itidl_ti.h:1624
int32_t outLayout
Definition: itidl_ti.h:1657
IVISION_Params visionParams
Definition: itidl_ti.h:2279
Definition: itidl_ti.h:932
int32_t keypointConfidence
Definition: itidl_ti.h:1363
This structure define the parameters of Element wise layer in TIDL.
Definition: itidl_ti.h:1586
int32_t numChannels
Definition: itidl_ti.h:795
float32_tidl r32
Definition: itidl_ti.h:2160
Definition: itidl_ti.h:920
sTIDL_InnerProductParams_t innerProductParams
Definition: itidl_ti.h:1738
This structure defines the parameters for custom layer in TIDL.
Definition: itidl_ti.h:1091
#define TIDL_MAX_NUM_CORES
Definition: itidl_ti.h:120
int32_t biasElementSize
Definition: itidl_ti.h:1842
This structure define the parameters of AnchorBox used by Detection Output Layer in TIDL...
Definition: itidl_ti.h:1426
int32_t(* TIDLReadBinFromFile)(const char *fileName, void *addr, int32_t size, int32_t count)
Definition: itidl_ti.h:2337
int32_t maxPSAT
Definition: itidl_ti.h:1247
int32_t biasScales
Definition: itidl_ti.h:1542
sTIDL_PoolingParams_t poolParams
Definition: itidl_ti.h:1737
int32_t padL
Definition: itidl_ti.h:1202
Definition: itidl_ti.h:1275
#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:387
int32_t perChannelPadConstTensorSize
Definition: itidl_ti.h:862
sTIDL_ArgMaxParams_t argMaxParams
Definition: itidl_ti.h:1740
int32_t numOutChannels
Definition: itidl_ti.h:1182
Definition: itidl_ti.h:909
int32_t biasTerm
Definition: itidl_ti.h:1604
int32_t numGroups
Definition: itidl_ti.h:825
int32_t shareLocation
Definition: itidl_ti.h:1356
int32_t backgroundLabelId
Definition: itidl_ti.h:1337
This structure define the parameters of Inner Product (Fully connected) layer in TIDL.
Definition: itidl_ti.h:1532
Definition: itidl_ti.h:1936
eTIDL_inDataFormat
This enumerator defines the different indata formats.
Definition: itidl_ti.h:1889
int32_t weightRangeMethod
Definition: itidl_ti.h:1009
int32_t inDataQ
Definition: itidl_ti.h:1080
Definition: itidl_ti.h:2229
int32_t outDataQ
Definition: itidl_ti.h:1476
int32_t imHeight
Definition: itidl_ti.h:1381
sTIDL_DataParams_t * inDataPtr
Definition: itidl_ti.h:1787
float32_tidl label
Definition: itidl_ti.h:2205
int32_t priorBoxSize
Definition: itidl_ti.h:1333
eTIDL_MemSpaces
Definition: itidl_ti.h:2224
TIDL_Unlock_t pFxnUnLock
Definition: itidl_ti.h:2329
Definition: itidl_ti.h:936
int32_t weightScales
Definition: itidl_ti.h:1161
IVISION_OutArgs iVisionOutArgs
Definition: itidl_ti.h:2414
int32_t calibrationOption
Definition: itidl_ti.h:1855
int32_t inDataQ
Definition: itidl_ti.h:1618
int32_t numBatchH
Definition: itidl_ti.h:777
int32_t padL
Definition: itidl_ti.h:1076
int32_t dataQ
Definition: itidl_ti.h:751
int32_t reserved
Definition: itidl_ti.h:1869
int32_t strideW
Definition: itidl_ti.h:1190
int32_t axis
Definition: itidl_ti.h:814
int32_t type
Definition: itidl_ti.h:1655
#define TIDL_STRING_SIZE
Definition: itidl_ti.h:109
int32_t numInputBuf
Definition: itidl_ti.h:1949
sTIDL_DataParams_t outData
Definition: itidl_ti.h:1785
float32_tidl pY
Definition: itidl_ti.h:1305
int32_t weightsElementSizeInBits
Definition: itidl_ti.h:1794
sTIDL_DepthToSpaceParams_t depthToSpaceParams
Definition: itidl_ti.h:1751
float32_tidl xmax
Definition: itidl_ti.h:2188
int32_t rsvdPassThroughSize
Definition: itidl_ti.h:1147
This structure contains the key points information of BBox detected by OD layer.
Definition: itidl_ti.h:2128
int32_t topKAllClasses
Definition: itidl_ti.h:1351
float32_tidl ty
Definition: itidl_ti.h:2164
Definition: itidl_ti.h:1926
uint32_t coreId
Definition: itidl_ti.h:2319
Definition: itidl_ti.h:2228
int32_t axis
Definition: itidl_ti.h:802
float32_tidl x
Definition: itidl_ti.h:2209
int32_t numChannels
Definition: itidl_ti.h:1492
sTIDL_DataLayerParams_t dataLayerParams
Definition: itidl_ti.h:1739
int32_t numClasses
Definition: itidl_ti.h:1335
Definition: itidl_ti.h:1679
float32_tidl weightScale
Definition: itidl_ti.h:1711
float32_tidl slopeScale
Definition: itidl_ti.h:983
int32_t currLayersGroupId
Definition: itidl_ti.h:2281
eTIDL_ScatterElementsReductionType
Definition: itidl_ti.h:1676
Definition: itidl_ti.h:939
This structure define the parameters of data or kernel buffer memory in TIDL.
Definition: itidl_ti.h:703
float32_tidl r12
Definition: itidl_ti.h:2156
int32_t padR
Definition: itidl_ti.h:1204
float32_tidl confThreshold
Definition: itidl_ti.h:1342
Definition: itidl_ti.h:1287
int32_t deviceName
Definition: itidl_ti.h:1834
int32_t inDataQ
Definition: itidl_ti.h:1522
int32_t numChannels
Definition: itidl_ti.h:1590
float32_tidl r31
Definition: itidl_ti.h:2154
int32_t weightsQ
Definition: itidl_ti.h:1556
int32_t bias
Definition: itidl_ti.h:1159
Definition: itidl_ti.h:1903
int32_t biasQ
Definition: itidl_ti.h:1220
This structure contains all the parameters which controls the applet at create time.
Definition: itidl_ti.h:2371
int32_t activationRangeMethod
Definition: itidl_ti.h:1002
int32_t bias
Definition: itidl_ti.h:1490
Definition: itidl_ti.h:2226
float32_tidl maxPreEmptDelay
Definition: itidl_ti.h:2307
int32_t zeroWeightValue
Definition: itidl_ti.h:1562
int32_t inferenceMode
Definition: itidl_ti.h:1873
This structure contains the each object's information detected by 3D Objection detection layer...
Definition: itidl_ti.h:2200
int32_t enableDepthToSpace
Definition: itidl_ti.h:1238
This structure contains all the parameters which controls the applet at create time.
Definition: itidl_ti.h:2411
int32_t interDataQ
Definition: itidl_ti.h:1570
int32_t padT
Definition: itidl_ti.h:1072
void(* TIDL_Unlock_t)(int32_t)
Call back function pointer to unlock interrupts.
Definition: itidl_ti.h:141
int32_t padW
Definition: itidl_ti.h:1068
float32_tidl strideL
Definition: itidl_ti.h:1441
Definition: itidl_ti.h:1263
Definition: itidl_ti.h:1262
int32_t axis
Definition: itidl_ti.h:1691
int32_t(* TIDLVprintf)(const char *format, va_list arg)
Definition: itidl_ti.h:2331
int32_t weightsQ
Definition: itidl_ti.h:1214
This structure define the parameters of PriorBox layer in TIDL.
Definition: itidl_ti.h:1472
Definition: itidl_ti.h:921
int32_t layout
Definition: itidl_ti.h:1656
int32_t dataLayout
Definition: itidl_ti.h:1400
int32_t weights
Definition: itidl_ti.h:1157
eTIDL_processingType
This enumerator defines the different Meta Arch types.
Definition: itidl_ti.h:1273
int32_t batchPadH
Definition: itidl_ti.h:773
int32_t numInBufs
Definition: itidl_ti.h:1779
Definition: itidl_ti.h:2055
float32_tidl r11
Definition: itidl_ti.h:2150
int32_t ops
Definition: itidl_ti.h:1673
int32_t dataQ
Definition: itidl_ti.h:797
int32_t imWidth
Definition: itidl_ti.h:1378
int32_t kernelH
Definition: itidl_ti.h:1062
int32_t bias
Definition: itidl_ti.h:1516
int32_t weightZeroPoints
Definition: itidl_ti.h:1163
#define TIDL_OD_MAX_ANCHORS_PER_HEAD
Definition: itidl_ti.h:1418
int32_t isQuantStatsAvailable
Definition: itidl_ti.h:1865
int32_t numOutBufs
Definition: itidl_ti.h:2416
Definition: itidl_ti.h:941
int32_t metaArchType
Definition: itidl_ti.h:1396
float32_tidl offsetW
Definition: itidl_ti.h:1443
int32_t numChannels
Definition: itidl_ti.h:1518
float32_tidl * anchorInputs
Definition: itidl_ti.h:1463
This structure define the parameters Crop layer in TIDL.
Definition: itidl_ti.h:1632
Definition: itidl_ti.h:1913
#define TIDL_NUM_IN_BUFS
Definition: itidl_ti.h:107
sTIDL_GatherLayerParams_t gatherParams
Definition: itidl_ti.h:1760
sTIDL_CustomParams_t customParams
Definition: itidl_ti.h:1755
int32_t reservedCtrl
Definition: itidl_ti.h:2296
int32_t weightsElementSize
Definition: itidl_ti.h:1838
int32_t bufSize
Definition: itidl_ti.h:706
static int32_t TIDL_GetObjDetectionFormatState(int32_t odObjectType, int32_t odObjectFormat)
Definition: itidl_ti.h:2066
Definition: itidl_ti.h:1261
float32_tidl tz
Definition: itidl_ti.h:2166
int32_t padW
Definition: itidl_ti.h:1096
int32_t perChannelWeightScaleOffset
Definition: itidl_ti.h:1176
int32_t numChannels
Definition: itidl_ti.h:1056
This structure define the parameters of Depth To Space layer in TIDL.
Definition: itidl_ti.h:835
This structure define the parameters of Resize layer in TIDL.
Definition: itidl_ti.h:894
int32_t padR
Definition: itidl_ti.h:1078
int32_t memOverlapType
Definition: itidl_ti.h:1105
Definition: itidl_ti.h:933
Definition: itidl_ti.h:1413
#define TIDL_OD_MAX_KEYPOINTS
Definition: itidl_ti.h:1417
Definition: itidl_ti.h:2058
float32_tidl fX
Definition: itidl_ti.h:1299
int32_t headHeight
Definition: itidl_ti.h:1435
int32_t layerType
Definition: itidl_ti.h:1775
int32_t axis
Definition: itidl_ti.h:1474
int32_t derivedBias
Definition: itidl_ti.h:1169
int32_t isBias
Definition: itidl_ti.h:1574
This structure define the parameters ConstData layer in TIDL.
Definition: itidl_ti.h:1707
eTIDL_scoreConverterType
This enumerator defines the different Meta Arch types.
Definition: itidl_ti.h:1284
int32_t minPSAT
Definition: itidl_ti.h:1245
float32_tidl minTensorValue
Definition: itidl_ti.h:757
int32_t isBroadcast
Definition: itidl_ti.h:1713
int32_t padL
Definition: itidl_ti.h:851
int32_t biasZeroPoints
Definition: itidl_ti.h:1544
float32_tidl w
Definition: itidl_ti.h:2215
int32_t maxValue
Definition: itidl_ti.h:755
int32_t mode
Definition: itidl_ti.h:896
int32_t tensorType
Definition: itidl_ti.h:765
int32_t numDim
Definition: itidl_ti.h:749
Definition: itidl_ti.h:1892
Definition: itidl_ti.h:1915
float32_tidl strideW
Definition: itidl_ti.h:1437
sTIDL_DetectOutputParams_t detectOutParams
Definition: itidl_ti.h:1744
float32_tidl ymax
Definition: itidl_ti.h:2190
int32_t customLayerType
Definition: itidl_ti.h:1093
int32_t numHeads
Definition: itidl_ti.h:1370
eTIDL_ResizeType
This enumerator defines the different types of element type used by TIDL library. ...
Definition: itidl_ti.h:882