TI Deep Learning Library User Guide
itidl_ti.h File Reference

Introduction

This file defines the ivision interface for TI deep learning library.

Version
0.1 Oct 2016 : Initial Code
0.5 Jun 2018 : Cleaned up
1.0 Sep 2019 : Updated

Go to the source code of this file.

#define USE_IVISION   (1)
 
#define TIDL_NUM_MAX_LAYERS   ((int32_t) 1024)
 
#define TIDL_NUM_IN_BUFS   ((int32_t) 16)
 
#define TIDL_NUM_OUT_BUFS   ((int32_t) 16)
 
#define TIDL_STRING_SIZE   ((int32_t) 256)
 
#define TIDL_MAX_DATA_BUFS   ((int32_t) 256)
 
#define TIDL_MAX_ALG_IN_BUFS   ((int32_t) 16)
 
#define TIDL_MAX_ALG_OUT_BUFS   ((int32_t) 16)
 
#define TIDL_MAX_NUM_GROUPS   ((int32_t) 16)
 
#define TIDL_DataLayer   ((int32_t) 0)
 This group defines the different types of layers used in deep learning algorithms. More...
 
#define TIDL_ConvolutionLayer   ((int32_t) 1)
 
#define TIDL_PoolingLayer   ((int32_t) 2)
 
#define TIDL_ReLULayer   ((int32_t) 3)
 
#define TIDL_PReLULayer   ((int32_t) 4)
 
#define TIDL_EltWiseLayer   ((int32_t) 5)
 
#define TIDL_InnerProductLayer   ((int32_t) 6)
 
#define TIDL_SoftMaxLayer   ((int32_t) 7)
 
#define TIDL_BatchNormLayer   ((int32_t) 8)
 
#define TIDL_BiasLayer   ((int32_t) 9)
 
#define TIDL_ScaleLayer   ((int32_t) 10)
 
#define TIDL_Deconv2DLayer   ((int32_t) 11)
 
#define TIDL_ConcatLayer   ((int32_t) 12)
 
#define TIDL_SplitLayer   ((int32_t) 13)
 
#define TIDL_SliceLayer   ((int32_t) 14)
 
#define TIDL_CropLayer   ((int32_t) 15)
 
#define TIDL_FlattenLayer   ((int32_t) 16)
 
#define TIDL_DropOutLayer   ((int32_t) 17)
 
#define TIDL_ArgMaxLayer   ((int32_t) 18)
 
#define TIDL_DetectionOutputLayer   ((int32_t) 19)
 
#define TIDL_ShuffleChannelLayer   ((int32_t) 20)
 
#define TIDL_ResizeLayer   ((int32_t) 21)
 
#define TIDL_RoiPoolingLayer   ((int32_t) 22)
 
#define TIDL_OdPostProcessingLayer   ((int32_t) 23)
 
#define TIDL_CustomLayer   ((int32_t) 24)
 
#define TIDL_UnsupportedLayer   ((int32_t) 25)
 
typedef float float32_tidl
 
typedef double float64_tidl
 
const IVISION_Fxns TIDL_VISION_FXNS
 The unique const function table for the TI deep learning algorithm. More...
 

Data Structures

struct  sBuffer_t
 This structure define the parameters of data or kernel buffer memory in TIDL. More...
 
struct  sTIDL_DataParams_t
 This structure define the parameters of data or kernel buffer used by TIDL layers (In,Out) More...
 
struct  sTIDL_DataLayerParams_t
 This structure define the parameters of Data layer in TIDL. More...
 
struct  sTIDL_ShuffleLayerParams_t
 This structure define the parameters of Shuffle layer in TIDL. More...
 
struct  sTIDL_ResizeLayerParams_t
 This structure define the parameters of Resize layer in TIDL. More...
 
struct  sTIDL_RoiPoolingLayerParams_t
 This structure define the parameters of ROI Pooling layer in TIDL. More...
 
struct  sTIDL_SliceLayerParams_t
 
struct  sTIDL_ActParams_t
 This structure define the parameters of ReLU activation layer in TIDL. More...
 
struct  sTIDL_ArgMaxParams_t
 This structure define the parameters Arg max layer in TIDL. More...
 
struct  sTIDL_PoolingParams_t
 This structure define the parameters spatial Pooling layer in TIDL. More...
 
struct  sTIDL_CustomParams_t
 This structure defines the parameters for custom layer in TIDL. More...
 
struct  sTIDL_ConvParams_t
 This structure define the parameters Convolution Layer in TIDL. More...
 
struct  sTIDL_DetectOutputParams_t
 This structure define the parameters of Detection Output Layer in TIDL. More...
 
struct  sTIDL_AnchorBoxParams_t
 This structure define the parameters of AnchorBox used by Detection Output Layer in TIDL. More...
 
struct  sTIDL_ConcatParams_t
 This structure define the parameters of PriorBox layer in TIDL. More...
 
struct  sTIDL_BatchNormParams_t
 This structure define the parameters of Batch Norm layer in TIDL. More...
 
struct  sTIDL_BiasParams_t
 This structure define the parameters of Bias layer in TIDL. More...
 
struct  sTIDL_InnerProductParams_t
 This structure define the parameters of Inner Product (Fully connected) layer in TIDL. More...
 
struct  sTIDL_EltWiseParams_t
 This structure define the parameters of Element wise layer in TIDL. More...
 
struct  sTIDL_SoftMaxParams_t
 This structure define the parameters Soft max layer in TIDL. More...
 
struct  sTIDL_CropParams_t
 This structure define the parameters Crop layer in TIDL. More...
 
struct  sTIDL_LayerParams_t
 This union define the layer specific parameters of all the supported layers in TIDL. More...
 
struct  sTIDL_Layer_t
 This structure define the common layer parameters in TIDL. More...
 
struct  sTIDL_Network_t
 This structure define the parameters CNN/Deep learning net in TIDL. More...
 
struct  sTIDL_IOBufDesc_t
 This structure defines the Input and output buffer descriptors required for a given Layer group. More...
 
struct  TIDL_CreateParams
 This structure contains all the parameters which TI DL library at create time. More...
 
struct  TIDL_InArgs
 This structure contains all the parameters which controls the applet at create time. More...
 
struct  TIDL_outArgs
 This structure contains all the parameters which controls the applet at create time. More...
 
struct  TIDL_ODLayerHeaderInfo
 This structure contains the header information of Objection detection layer. More...
 
struct  TIDL_ODLayerKeyPoint
 This structure contains the key points information of BBox detected by OD layer. More...
 
struct  TIDL_ODLayerObjInfo
 This structure contains the each object's information detected by Objection detection layer. More...
 

Macros

#define TIDL_OD_MAX_KEYPOINTS   (16)
 
#define TIDL_OD_MAX_ANCHORS_PER_HEAD   (16)
 
#define TIDL_NET_VERSION   (0x20200129)
 
#define TIDL_OD_MAX_KEY_POINTS   (8)
 
#define TIDL_UnsignedChar   ((int32_t) 0)
 This group defines the different types of element type used by TIDL library. More...
 
#define TIDL_SignedChar   ((int32_t) 1)
 
#define TIDL_UnsignedShort   ((int32_t) 2)
 
#define TIDL_SignedShort   ((int32_t) 3)
 
#define TIDL_UnsignedWord   ((int32_t) 4)
 
#define TIDL_SignedWord   ((int32_t) 5)
 
#define TIDL_SinglePrecFloat   ((int32_t) 6)
 
#define TIDL_QuantStyleFixed   ((int32_t) 0)
 This group defines the different types of quantization Styles supported by TIDL library. More...
 
#define TIDL_QuantStyleDynamic   ((int32_t) 1)
 IDynamic quantization does not depend on training. Quantization of kernel weights happen during model import using tool. More...
 
#define TIDL_QuantStyleNP2Fixed   ((int32_t) 2)
 Non Power of two scale for Weight and Power of two scale for Feature. Weight scale is Fixed and Feature scale is Dynamic. More...
 
#define TIDL_QuantStyleP2Dynamic   ((int32_t) 3)
 Power of two scale for both Weight and Feature. Weight scale is Fixed and Feature scale is Dynamic. More...
 
#define TIDL_QuantStyleCustom   ((int32_t) 10)
 Currently not supported for user. More...
 
#define TIDL_OptimiseExtMemL0   ((int32_t) 0)
 This group defines the different types of optimizations supported by TIDL library. More...
 
#define TIDL_OptimiseExtMemL1   ((int32_t) 1)
 In this case, output buffer will re-use memory from previous layers when they have same width and height, so algorithm uses less external memory compare to L0 case. More...
 
#define TIDL_OptimiseExtMemL2   ((int32_t) 2)
 In this case, output buffer will re-use memory from previous layers when they have different width and height, so algorithm uses less external memory compare to L1 case. More...
 
#define TIDL_Sparse   ((int32_t) 0)
 This group defines the different types of optimizations in kernel types supported by TIDL library. More...
 
#define TIDL_Dense   ((int32_t) 1)
 In this case, all coefficients are considered for convolution. More...
 
#define TIDL_StrideOffsetTopLeft   ((int32_t) 0)
 This group defines the different logic to choose offset for kernels/windows with stride grater than 1. More...
 
#define TIDL_StrideOffsetCenter   ((int32_t) 1)
 
#define TIDL_StrideOffsetMax   ((int32_t) 2)
 
#define TIDL_MaxPooling   ((int32_t) 0)
 This group defines the different types of spatial pooling supported by TIDL library. More...
 
#define TIDL_AveragePooling   ((int32_t) 1)
 
#define TIDL_NoAct   ((int32_t) 0)
 This group defines the different activation types supported by TIDL library. More...
 
#define TIDL_RelU   ((int32_t) 1)
 
#define TIDL_PRelU   ((int32_t) 2)
 
#define TIDL_RelU6   ((int32_t) 3)
 
#define TIDL_Clip   ((int32_t) 4)
 
#define TIDL_EltWiseProduct   ((int32_t) 0)
 This group defines the different types of eltWise layer operations supported by TIDL library. More...
 
#define TIDL_EltWiseSum   ((int32_t) 1)
 
#define TIDL_EltWiseMax   ((int32_t) 2)
 
#define TIDL_DIM_BATCH   ((int32_t) 0)
 This group defines the indices of dimension array of layer data buffer in TIDL library. More...
 
#define TIDL_DIM_NUMCH   ((int32_t) 1)
 
#define TIDL_DIM_HEIGHT   ((int32_t) 2)
 
#define TIDL_DIM_WIDTH   ((int32_t) 3)
 
#define TIDL_DIM_MAX   ((int32_t) 4)
 
#define TIDL_ROI_PITCH   ((uint32_t) 0)
 This group defines the indices of pitch array of layer data buffer in TIDL library. More...
 
#define TIDL_CHANNEL_PITCH   ((uint32_t) 1)
 
#define TIDL_LINE_PITCH   ((uint32_t) 2)
 
#define TIDL_PITCH_MAX   ((uint32_t) (TIDL_DIM_MAX - 1))
 
#define TIDL_E_CONVOLUTION   ((int32_t) -1000)
 This group defines error numbers that have to be set when layer parameters deviate from expected range of values. More...
 
#define TIDL_E_CONV_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 0))
 
#define TIDL_E_CONV_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 1))
 
#define TIDL_E_CONV_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 2))
 
#define TIDL_E_CONV_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 3))
 
#define TIDL_E_CONV_INVALID_NUM_IN_CHANNELS   ((int32_t) (TIDL_E_CONVOLUTION - 4))
 
#define TIDL_E_CONV_INVALID_NUM_OUT_CHANNELS   ((int32_t) (TIDL_E_CONVOLUTION - 5))
 
#define TIDL_E_CONV_INVALID_KER_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 6))
 
#define TIDL_E_CONV_INVALID_KER_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 7))
 
#define TIDL_E_CONV_INVALID_KER_TYPE   ((int32_t) (TIDL_E_CONVOLUTION - 8))
 
#define TIDL_E_CONV_INVALID_STRIDE_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 9))
 
#define TIDL_E_CONV_INVALID_STRIDE_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 10))
 
#define TIDL_E_CONV_NEGATIVE_OUTPUT_SHIFT   ((int32_t) (TIDL_E_CONVOLUTION - 11))
 
#define TIDL_E_CONV_POOL_INVALID_POOL_TYPE   ((int32_t) (TIDL_E_CONVOLUTION - 12))
 
#define TIDL_E_CONV_POOL_INVALID_KER_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 13))
 
#define TIDL_E_CONV_POOL_INVALID_KER_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 14))
 
#define TIDL_E_CONV_POOL_INVALID_STRIDE_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 15))
 
#define TIDL_E_CONV_POOL_INVALID_STRIDE_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 16))
 
#define TIDL_E_ELTWISE   ((int32_t) -1020)
 
#define TIDL_E_ELTWISE_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_ELTWISE - 0))
 
#define TIDL_E_ELTWISE_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_ELTWISE - 1))
 
#define TIDL_E_ELTWISE_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_ELTWISE - 2))
 
#define TIDL_E_ELTWISE_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_ELTWISE - 3))
 
#define TIDL_E_ELTWISE_INVALID_ELTWISE_TYPE   ((int32_t) (TIDL_E_ELTWISE - 4))
 
#define TIDL_E_ELTWISE_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_ELTWISE - 5))
 
#define TIDL_E_POOLING   ((int32_t) -1030)
 
#define TIDL_E_POOL_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_POOLING - 0))
 
#define TIDL_E_POOL_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_POOLING - 1))
 
#define TIDL_E_POOL_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_POOLING - 2))
 
#define TIDL_E_POOL_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_POOLING - 3))
 
#define TIDL_E_POOL_INVALID_POOL_TYPE   ((int32_t) (TIDL_E_POOLING - 4))
 
#define TIDL_E_POOL_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_POOLING - 5))
 
#define TIDL_E_POOL_INVALID_KER_WIDTH   ((int32_t) (TIDL_E_POOLING - 6))
 
#define TIDL_E_POOL_INVALID_KER_HEIGHT   ((int32_t) (TIDL_E_POOLING - 7))
 
#define TIDL_E_POOL_INVALID_STRIDE_WIDTH   ((int32_t) (TIDL_E_POOLING - 8))
 
#define TIDL_E_POOL_INVALID_STRIDE_HEIGHT   ((int32_t) (TIDL_E_POOLING - 9))
 
#define TIDL_E_INNER_PRODUCT   ((int32_t) -1040)
 
#define TIDL_E_IP_INVALID_NUM_IN_NODES   ((int32_t) (TIDL_E_INNER_PRODUCT - 0))
 
#define TIDL_E_IP_INVALID_NUM_OUT_NODES   ((int32_t) (TIDL_E_INNER_PRODUCT - 1))
 
#define TIDL_E_IP_NEGATIVE_OUTPUT_SHIFT   ((int32_t) (TIDL_E_INNER_PRODUCT - 2))
 
#define TIDL_E_ARGMAX   ((int32_t) -1050)
 
#define TIDL_E_ARGMAX_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_ARGMAX - 0))
 
#define TIDL_E_BN   ((int32_t) -1060)
 
#define TIDL_E_BN_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_BN - 0))
 
#define TIDL_E_BN_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_BN - 1))
 
#define TIDL_E_BN_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_BN - 2))
 
#define TIDL_E_BN_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_BN - 3))
 
#define TIDL_E_BN_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_BN - 4))
 
#define TIDL_E_BN_INVALID_ENABLE_RELU   ((int32_t) (TIDL_E_BN - 5))
 
#define TIDL_E_BN_NEGATIVE_OUTPUT_SHIFT   ((int32_t) (TIDL_E_BN - 6))
 
#define TIDL_E_CROP   ((int32_t) -1070)
 
#define TIDL_E_CROP_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_CROP - 0))
 
#define TIDL_E_CROP_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_CROP - 1))
 
#define TIDL_E_CROP_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_CROP - 2))
 
#define TIDL_E_CROP_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_CROP - 3))
 
#define TIDL_E_CROP_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_CROP - 4))
 
#define TIDL_E_CROP_INVALID_OFFSET_WIDTH   ((int32_t) (TIDL_E_CROP - 5))
 
#define TIDL_E_CROP_INVALID_OFFSET_HEIGHT   ((int32_t) (TIDL_E_CROP - 6))
 
#define TIDL_E_FLATTEN   ((int32_t) -1080)
 
#define TIDL_E_FLATTEN_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_FLATTEN - 0))
 
#define TIDL_E_FLATTEN_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_FLATTEN - 1))
 
#define TIDL_E_FLATTEN_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_FLATTEN - 2))
 
#define TIDL_E_FLATTEN_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_FLATTEN - 3))
 
#define TIDL_E_SOFTMAX   ((int32_t) -1090)
 
#define TIDL_E_SOFTMAX_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_SOFTMAX - 0))
 
#define TIDL_E_SHUFFLECHANNEL   ((int32_t) -1100)
 
#define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 0))
 
#define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 1))
 
#define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 2))
 
#define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 3))
 
#define TIDL_E_SHUFFLECHANNEL_INVALID_NUM_GROUPS   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 4))
 
#define TIDL_E_COMMON   ((int32_t) -1110)
 
#define TIDL_E_UNSUPPORTED_LAYER   ((int32_t) (TIDL_E_COMMON - 0))
 
#define TIDL_E_DATAFLOW_INFO_NULL   ((int32_t) (TIDL_E_COMMON - 1))
 
#define TIDL_E_INVALID_DEBUG_TRACE_PRM   ((int32_t) (TIDL_E_COMMON - 2))
 
#define TIDL_E_INVALID_NET_VERSION   ((int32_t) (TIDL_E_COMMON - 3))
 
#define TIDL_E_INVALID_IO_LINE_PITCH   ((int32_t) (TIDL_E_COMMON - 4))
 
#define TIDL_E_QUANT_STATS_NOT_AVAILABALE   ((int32_t) (TIDL_E_COMMON - 5))
 

Enumerations

enum  eTIDL_ResizeType { TIDL_ResizeNearest = 0, TIDL_ResizeBilinear = 1, TIDL_ResizeMax }
 This enumerator defines the different types of element type used by TIDL library. More...
 
enum  eTIDL_RoiPoolingType { TIDL_RoiPoolingFasterRCNN = 0, TIDL_RoiPoolingMax }
 This enumerator defines the different types of ROI pooling supported by TIDL library. More...
 
enum  eTIDL_metaArchType {
  TIDL_metaArchCaffeJacinto = 0, TIDL_metaArchTFSSD = 1, TIDL_metaArchTFFasterRcnn = 2, TIDL_metaArchTidlSsd = 3,
  TIDL_metaArchMax = 3
}
 This enumerator defines the different Meta Arch types. More...
 
enum  eTIDL_processingType { TIDL_processingTypeDetectionOutput = 0, TIDL_processingTypeOdPostProcessing = 1, TIDL_processingTypeMax = 3 }
 This enumerator defines the different Meta Arch types. More...
 
enum  eTIDL_inDataFormat { TIDL_inDataFormatBGRPlanar = 0, TIDL_inDataFormatRGBPlanar = 1, TIDL_inDataFormatRGBMax = 2 }
 This enumerator defines the different indata formats. More...
 
enum  eTIDL_inResizeType { TIDL_inResizeTypeDefault = 0, TIDL_inResizeTypeKeepAR = 1, TIDL_inResizeTypeMax = 2 }
 This enumerator defines the different indata formats. More...
 

Functions

static int TIDL_createParamsInit (TIDL_CreateParams *params)
 

Macro Definition Documentation

◆ USE_IVISION

#define USE_IVISION   (1)

◆ TIDL_NUM_MAX_LAYERS

#define TIDL_NUM_MAX_LAYERS   ((int32_t) 1024)

◆ TIDL_NUM_IN_BUFS

#define TIDL_NUM_IN_BUFS   ((int32_t) 16)

◆ TIDL_NUM_OUT_BUFS

#define TIDL_NUM_OUT_BUFS   ((int32_t) 16)

◆ TIDL_STRING_SIZE

#define TIDL_STRING_SIZE   ((int32_t) 256)

◆ TIDL_MAX_DATA_BUFS

#define TIDL_MAX_DATA_BUFS   ((int32_t) 256)

◆ TIDL_MAX_ALG_IN_BUFS

#define TIDL_MAX_ALG_IN_BUFS   ((int32_t) 16)

◆ TIDL_MAX_ALG_OUT_BUFS

#define TIDL_MAX_ALG_OUT_BUFS   ((int32_t) 16)

◆ TIDL_MAX_NUM_GROUPS

#define TIDL_MAX_NUM_GROUPS   ((int32_t) 16)

◆ TIDL_DataLayer

#define TIDL_DataLayer   ((int32_t) 0)

This group defines the different types of layers used in deep learning algorithms.

◆ TIDL_ConvolutionLayer

#define TIDL_ConvolutionLayer   ((int32_t) 1)

◆ TIDL_PoolingLayer

#define TIDL_PoolingLayer   ((int32_t) 2)

◆ TIDL_ReLULayer

#define TIDL_ReLULayer   ((int32_t) 3)

◆ TIDL_PReLULayer

#define TIDL_PReLULayer   ((int32_t) 4)

◆ TIDL_EltWiseLayer

#define TIDL_EltWiseLayer   ((int32_t) 5)

◆ TIDL_InnerProductLayer

#define TIDL_InnerProductLayer   ((int32_t) 6)

◆ TIDL_SoftMaxLayer

#define TIDL_SoftMaxLayer   ((int32_t) 7)

◆ TIDL_BatchNormLayer

#define TIDL_BatchNormLayer   ((int32_t) 8)

◆ TIDL_BiasLayer

#define TIDL_BiasLayer   ((int32_t) 9)

◆ TIDL_ScaleLayer

#define TIDL_ScaleLayer   ((int32_t) 10)

◆ TIDL_Deconv2DLayer

#define TIDL_Deconv2DLayer   ((int32_t) 11)

◆ TIDL_ConcatLayer

#define TIDL_ConcatLayer   ((int32_t) 12)

◆ TIDL_SplitLayer

#define TIDL_SplitLayer   ((int32_t) 13)

◆ TIDL_SliceLayer

#define TIDL_SliceLayer   ((int32_t) 14)

◆ TIDL_CropLayer

#define TIDL_CropLayer   ((int32_t) 15)

◆ TIDL_FlattenLayer

#define TIDL_FlattenLayer   ((int32_t) 16)

◆ TIDL_DropOutLayer

#define TIDL_DropOutLayer   ((int32_t) 17)

◆ TIDL_ArgMaxLayer

#define TIDL_ArgMaxLayer   ((int32_t) 18)

◆ TIDL_DetectionOutputLayer

#define TIDL_DetectionOutputLayer   ((int32_t) 19)

◆ TIDL_ShuffleChannelLayer

#define TIDL_ShuffleChannelLayer   ((int32_t) 20)

◆ TIDL_ResizeLayer

#define TIDL_ResizeLayer   ((int32_t) 21)

◆ TIDL_RoiPoolingLayer

#define TIDL_RoiPoolingLayer   ((int32_t) 22)

◆ TIDL_OdPostProcessingLayer

#define TIDL_OdPostProcessingLayer   ((int32_t) 23)

◆ TIDL_CustomLayer

#define TIDL_CustomLayer   ((int32_t) 24)

◆ TIDL_UnsupportedLayer

#define TIDL_UnsupportedLayer   ((int32_t) 25)

◆ TIDL_UnsignedChar

#define TIDL_UnsignedChar   ((int32_t) 0)

This group defines the different types of element type used by TIDL library.

◆ TIDL_SignedChar

#define TIDL_SignedChar   ((int32_t) 1)

◆ TIDL_UnsignedShort

#define TIDL_UnsignedShort   ((int32_t) 2)

◆ TIDL_SignedShort

#define TIDL_SignedShort   ((int32_t) 3)

◆ TIDL_UnsignedWord

#define TIDL_UnsignedWord   ((int32_t) 4)

◆ TIDL_SignedWord

#define TIDL_SignedWord   ((int32_t) 5)

◆ TIDL_SinglePrecFloat

#define TIDL_SinglePrecFloat   ((int32_t) 6)

◆ TIDL_QuantStyleFixed

#define TIDL_QuantStyleFixed   ((int32_t) 0)

This group defines the different types of quantization Styles supported by TIDL library.

this case, TIDL expects the Quantization information via interface. This is supported by caffe-jacinto training framework - Currently not supported for user

◆ TIDL_QuantStyleDynamic

#define TIDL_QuantStyleDynamic   ((int32_t) 1)

IDynamic quantization does not depend on training. Quantization of kernel weights happen during model import using tool.

◆ TIDL_QuantStyleNP2Fixed

#define TIDL_QuantStyleNP2Fixed   ((int32_t) 2)

Non Power of two scale for Weight and Power of two scale for Feature. Weight scale is Fixed and Feature scale is Dynamic.

◆ TIDL_QuantStyleP2Dynamic

#define TIDL_QuantStyleP2Dynamic   ((int32_t) 3)

Power of two scale for both Weight and Feature. Weight scale is Fixed and Feature scale is Dynamic.

◆ TIDL_QuantStyleCustom

#define TIDL_QuantStyleCustom   ((int32_t) 10)

Currently not supported for user.

◆ TIDL_OptimiseExtMemL0

#define TIDL_OptimiseExtMemL0   ((int32_t) 0)

This group defines the different types of optimizations supported by TIDL library.

this case, no optimization in output memory, output buffer will not re-use memory from previous layers, so algorithm uses more external memory. This is Currently used for debugging

◆ TIDL_OptimiseExtMemL1

#define TIDL_OptimiseExtMemL1   ((int32_t) 1)

In this case, output buffer will re-use memory from previous layers when they have same width and height, so algorithm uses less external memory compare to L0 case.

◆ TIDL_OptimiseExtMemL2

#define TIDL_OptimiseExtMemL2   ((int32_t) 2)

In this case, output buffer will re-use memory from previous layers when they have different width and height, so algorithm uses less external memory compare to L1 case.

◆ TIDL_Sparse

#define TIDL_Sparse   ((int32_t) 0)

This group defines the different types of optimizations in kernel types supported by TIDL library.

this case, only non zero coefficients are considered for convolution

◆ TIDL_Dense

#define TIDL_Dense   ((int32_t) 1)

In this case, all coefficients are considered for convolution.

◆ TIDL_StrideOffsetTopLeft

#define TIDL_StrideOffsetTopLeft   ((int32_t) 0)

This group defines the different logic to choose offset for kernels/windows with stride grater than 1.

◆ TIDL_StrideOffsetCenter

#define TIDL_StrideOffsetCenter   ((int32_t) 1)

◆ TIDL_StrideOffsetMax

#define TIDL_StrideOffsetMax   ((int32_t) 2)

◆ TIDL_MaxPooling

#define TIDL_MaxPooling   ((int32_t) 0)

This group defines the different types of spatial pooling supported by TIDL library.

◆ TIDL_AveragePooling

#define TIDL_AveragePooling   ((int32_t) 1)

◆ TIDL_NoAct

#define TIDL_NoAct   ((int32_t) 0)

This group defines the different activation types supported by TIDL library.

◆ TIDL_RelU

#define TIDL_RelU   ((int32_t) 1)

◆ TIDL_PRelU

#define TIDL_PRelU   ((int32_t) 2)

◆ TIDL_RelU6

#define TIDL_RelU6   ((int32_t) 3)

◆ TIDL_Clip

#define TIDL_Clip   ((int32_t) 4)

◆ TIDL_EltWiseProduct

#define TIDL_EltWiseProduct   ((int32_t) 0)

This group defines the different types of eltWise layer operations supported by TIDL library.

◆ TIDL_EltWiseSum

#define TIDL_EltWiseSum   ((int32_t) 1)

◆ TIDL_EltWiseMax

#define TIDL_EltWiseMax   ((int32_t) 2)

◆ TIDL_DIM_BATCH

#define TIDL_DIM_BATCH   ((int32_t) 0)

This group defines the indices of dimension array of layer data buffer in TIDL library.

◆ TIDL_DIM_NUMCH

#define TIDL_DIM_NUMCH   ((int32_t) 1)

◆ TIDL_DIM_HEIGHT

#define TIDL_DIM_HEIGHT   ((int32_t) 2)

◆ TIDL_DIM_WIDTH

#define TIDL_DIM_WIDTH   ((int32_t) 3)

◆ TIDL_DIM_MAX

#define TIDL_DIM_MAX   ((int32_t) 4)

◆ TIDL_ROI_PITCH

#define TIDL_ROI_PITCH   ((uint32_t) 0)

This group defines the indices of pitch array of layer data buffer in TIDL library.

◆ TIDL_CHANNEL_PITCH

#define TIDL_CHANNEL_PITCH   ((uint32_t) 1)

◆ TIDL_LINE_PITCH

#define TIDL_LINE_PITCH   ((uint32_t) 2)

◆ TIDL_PITCH_MAX

#define TIDL_PITCH_MAX   ((uint32_t) (TIDL_DIM_MAX - 1))

◆ TIDL_E_CONVOLUTION

#define TIDL_E_CONVOLUTION   ((int32_t) -1000)

This group defines error numbers that have to be set when layer parameters deviate from expected range of values.

◆ TIDL_E_CONV_INVALID_INPUT_WIDTH

#define TIDL_E_CONV_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 0))

◆ TIDL_E_CONV_INVALID_INPUT_HEIGHT

#define TIDL_E_CONV_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 1))

◆ TIDL_E_CONV_INVALID_OUTPUT_WIDTH

#define TIDL_E_CONV_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 2))

◆ TIDL_E_CONV_INVALID_OUTPUT_HEIGHT

#define TIDL_E_CONV_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 3))

◆ TIDL_E_CONV_INVALID_NUM_IN_CHANNELS

#define TIDL_E_CONV_INVALID_NUM_IN_CHANNELS   ((int32_t) (TIDL_E_CONVOLUTION - 4))

◆ TIDL_E_CONV_INVALID_NUM_OUT_CHANNELS

#define TIDL_E_CONV_INVALID_NUM_OUT_CHANNELS   ((int32_t) (TIDL_E_CONVOLUTION - 5))

◆ TIDL_E_CONV_INVALID_KER_WIDTH

#define TIDL_E_CONV_INVALID_KER_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 6))

◆ TIDL_E_CONV_INVALID_KER_HEIGHT

#define TIDL_E_CONV_INVALID_KER_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 7))

◆ TIDL_E_CONV_INVALID_KER_TYPE

#define TIDL_E_CONV_INVALID_KER_TYPE   ((int32_t) (TIDL_E_CONVOLUTION - 8))

◆ TIDL_E_CONV_INVALID_STRIDE_WIDTH

#define TIDL_E_CONV_INVALID_STRIDE_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 9))

◆ TIDL_E_CONV_INVALID_STRIDE_HEIGHT

#define TIDL_E_CONV_INVALID_STRIDE_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 10))

◆ TIDL_E_CONV_NEGATIVE_OUTPUT_SHIFT

#define TIDL_E_CONV_NEGATIVE_OUTPUT_SHIFT   ((int32_t) (TIDL_E_CONVOLUTION - 11))

◆ TIDL_E_CONV_POOL_INVALID_POOL_TYPE

#define TIDL_E_CONV_POOL_INVALID_POOL_TYPE   ((int32_t) (TIDL_E_CONVOLUTION - 12))

◆ TIDL_E_CONV_POOL_INVALID_KER_WIDTH

#define TIDL_E_CONV_POOL_INVALID_KER_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 13))

◆ TIDL_E_CONV_POOL_INVALID_KER_HEIGHT

#define TIDL_E_CONV_POOL_INVALID_KER_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 14))

◆ TIDL_E_CONV_POOL_INVALID_STRIDE_WIDTH

#define TIDL_E_CONV_POOL_INVALID_STRIDE_WIDTH   ((int32_t) (TIDL_E_CONVOLUTION - 15))

◆ TIDL_E_CONV_POOL_INVALID_STRIDE_HEIGHT

#define TIDL_E_CONV_POOL_INVALID_STRIDE_HEIGHT   ((int32_t) (TIDL_E_CONVOLUTION - 16))

◆ TIDL_E_ELTWISE

#define TIDL_E_ELTWISE   ((int32_t) -1020)

◆ TIDL_E_ELTWISE_INVALID_INPUT_WIDTH

#define TIDL_E_ELTWISE_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_ELTWISE - 0))

◆ TIDL_E_ELTWISE_INVALID_INPUT_HEIGHT

#define TIDL_E_ELTWISE_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_ELTWISE - 1))

◆ TIDL_E_ELTWISE_INVALID_OUTPUT_WIDTH

#define TIDL_E_ELTWISE_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_ELTWISE - 2))

◆ TIDL_E_ELTWISE_INVALID_OUTPUT_HEIGHT

#define TIDL_E_ELTWISE_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_ELTWISE - 3))

◆ TIDL_E_ELTWISE_INVALID_ELTWISE_TYPE

#define TIDL_E_ELTWISE_INVALID_ELTWISE_TYPE   ((int32_t) (TIDL_E_ELTWISE - 4))

◆ TIDL_E_ELTWISE_INVALID_NUM_CHANNELS

#define TIDL_E_ELTWISE_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_ELTWISE - 5))

◆ TIDL_E_POOLING

#define TIDL_E_POOLING   ((int32_t) -1030)

◆ TIDL_E_POOL_INVALID_INPUT_WIDTH

#define TIDL_E_POOL_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_POOLING - 0))

◆ TIDL_E_POOL_INVALID_INPUT_HEIGHT

#define TIDL_E_POOL_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_POOLING - 1))

◆ TIDL_E_POOL_INVALID_OUTPUT_WIDTH

#define TIDL_E_POOL_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_POOLING - 2))

◆ TIDL_E_POOL_INVALID_OUTPUT_HEIGHT

#define TIDL_E_POOL_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_POOLING - 3))

◆ TIDL_E_POOL_INVALID_POOL_TYPE

#define TIDL_E_POOL_INVALID_POOL_TYPE   ((int32_t) (TIDL_E_POOLING - 4))

◆ TIDL_E_POOL_INVALID_NUM_CHANNELS

#define TIDL_E_POOL_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_POOLING - 5))

◆ TIDL_E_POOL_INVALID_KER_WIDTH

#define TIDL_E_POOL_INVALID_KER_WIDTH   ((int32_t) (TIDL_E_POOLING - 6))

◆ TIDL_E_POOL_INVALID_KER_HEIGHT

#define TIDL_E_POOL_INVALID_KER_HEIGHT   ((int32_t) (TIDL_E_POOLING - 7))

◆ TIDL_E_POOL_INVALID_STRIDE_WIDTH

#define TIDL_E_POOL_INVALID_STRIDE_WIDTH   ((int32_t) (TIDL_E_POOLING - 8))

◆ TIDL_E_POOL_INVALID_STRIDE_HEIGHT

#define TIDL_E_POOL_INVALID_STRIDE_HEIGHT   ((int32_t) (TIDL_E_POOLING - 9))

◆ TIDL_E_INNER_PRODUCT

#define TIDL_E_INNER_PRODUCT   ((int32_t) -1040)

◆ TIDL_E_IP_INVALID_NUM_IN_NODES

#define TIDL_E_IP_INVALID_NUM_IN_NODES   ((int32_t) (TIDL_E_INNER_PRODUCT - 0))

◆ TIDL_E_IP_INVALID_NUM_OUT_NODES

#define TIDL_E_IP_INVALID_NUM_OUT_NODES   ((int32_t) (TIDL_E_INNER_PRODUCT - 1))

◆ TIDL_E_IP_NEGATIVE_OUTPUT_SHIFT

#define TIDL_E_IP_NEGATIVE_OUTPUT_SHIFT   ((int32_t) (TIDL_E_INNER_PRODUCT - 2))

◆ TIDL_E_ARGMAX

#define TIDL_E_ARGMAX   ((int32_t) -1050)

◆ TIDL_E_ARGMAX_INVALID_NUM_CHANNELS

#define TIDL_E_ARGMAX_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_ARGMAX - 0))

◆ TIDL_E_BN

#define TIDL_E_BN   ((int32_t) -1060)

◆ TIDL_E_BN_INVALID_INPUT_WIDTH

#define TIDL_E_BN_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_BN - 0))

◆ TIDL_E_BN_INVALID_INPUT_HEIGHT

#define TIDL_E_BN_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_BN - 1))

◆ TIDL_E_BN_INVALID_OUTPUT_WIDTH

#define TIDL_E_BN_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_BN - 2))

◆ TIDL_E_BN_INVALID_OUTPUT_HEIGHT

#define TIDL_E_BN_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_BN - 3))

◆ TIDL_E_BN_INVALID_NUM_CHANNELS

#define TIDL_E_BN_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_BN - 4))

◆ TIDL_E_BN_INVALID_ENABLE_RELU

#define TIDL_E_BN_INVALID_ENABLE_RELU   ((int32_t) (TIDL_E_BN - 5))

◆ TIDL_E_BN_NEGATIVE_OUTPUT_SHIFT

#define TIDL_E_BN_NEGATIVE_OUTPUT_SHIFT   ((int32_t) (TIDL_E_BN - 6))

◆ TIDL_E_CROP

#define TIDL_E_CROP   ((int32_t) -1070)

◆ TIDL_E_CROP_INVALID_INPUT_WIDTH

#define TIDL_E_CROP_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_CROP - 0))

◆ TIDL_E_CROP_INVALID_INPUT_HEIGHT

#define TIDL_E_CROP_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_CROP - 1))

◆ TIDL_E_CROP_INVALID_OUTPUT_WIDTH

#define TIDL_E_CROP_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_CROP - 2))

◆ TIDL_E_CROP_INVALID_OUTPUT_HEIGHT

#define TIDL_E_CROP_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_CROP - 3))

◆ TIDL_E_CROP_INVALID_NUM_CHANNELS

#define TIDL_E_CROP_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_CROP - 4))

◆ TIDL_E_CROP_INVALID_OFFSET_WIDTH

#define TIDL_E_CROP_INVALID_OFFSET_WIDTH   ((int32_t) (TIDL_E_CROP - 5))

◆ TIDL_E_CROP_INVALID_OFFSET_HEIGHT

#define TIDL_E_CROP_INVALID_OFFSET_HEIGHT   ((int32_t) (TIDL_E_CROP - 6))

◆ TIDL_E_FLATTEN

#define TIDL_E_FLATTEN   ((int32_t) -1080)

◆ TIDL_E_FLATTEN_INVALID_INPUT_WIDTH

#define TIDL_E_FLATTEN_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_FLATTEN - 0))

◆ TIDL_E_FLATTEN_INVALID_INPUT_HEIGHT

#define TIDL_E_FLATTEN_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_FLATTEN - 1))

◆ TIDL_E_FLATTEN_INVALID_OUTPUT_WIDTH

#define TIDL_E_FLATTEN_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_FLATTEN - 2))

◆ TIDL_E_FLATTEN_INVALID_OUTPUT_HEIGHT

#define TIDL_E_FLATTEN_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_FLATTEN - 3))

◆ TIDL_E_SOFTMAX

#define TIDL_E_SOFTMAX   ((int32_t) -1090)

◆ TIDL_E_SOFTMAX_INVALID_NUM_CHANNELS

#define TIDL_E_SOFTMAX_INVALID_NUM_CHANNELS   ((int32_t) (TIDL_E_SOFTMAX - 0))

◆ TIDL_E_SHUFFLECHANNEL

#define TIDL_E_SHUFFLECHANNEL   ((int32_t) -1100)

◆ TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_WIDTH

#define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_WIDTH   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 0))

◆ TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_HEIGHT

#define TIDL_E_SHUFFLECHANNEL_INVALID_INPUT_HEIGHT   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 1))

◆ TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_WIDTH

#define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_WIDTH   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 2))

◆ TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_HEIGHT

#define TIDL_E_SHUFFLECHANNEL_INVALID_OUTPUT_HEIGHT   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 3))

◆ TIDL_E_SHUFFLECHANNEL_INVALID_NUM_GROUPS

#define TIDL_E_SHUFFLECHANNEL_INVALID_NUM_GROUPS   ((int32_t) (TIDL_E_SHUFFLECHANNEL - 4))

◆ TIDL_E_COMMON

#define TIDL_E_COMMON   ((int32_t) -1110)

◆ TIDL_E_UNSUPPORTED_LAYER

#define TIDL_E_UNSUPPORTED_LAYER   ((int32_t) (TIDL_E_COMMON - 0))

◆ TIDL_E_DATAFLOW_INFO_NULL

#define TIDL_E_DATAFLOW_INFO_NULL   ((int32_t) (TIDL_E_COMMON - 1))

◆ TIDL_E_INVALID_DEBUG_TRACE_PRM

#define TIDL_E_INVALID_DEBUG_TRACE_PRM   ((int32_t) (TIDL_E_COMMON - 2))

◆ TIDL_E_INVALID_NET_VERSION

#define TIDL_E_INVALID_NET_VERSION   ((int32_t) (TIDL_E_COMMON - 3))

◆ TIDL_E_INVALID_IO_LINE_PITCH

#define TIDL_E_INVALID_IO_LINE_PITCH   ((int32_t) (TIDL_E_COMMON - 4))

◆ TIDL_E_QUANT_STATS_NOT_AVAILABALE

#define TIDL_E_QUANT_STATS_NOT_AVAILABALE   ((int32_t) (TIDL_E_COMMON - 5))

◆ TIDL_OD_MAX_KEYPOINTS

#define TIDL_OD_MAX_KEYPOINTS   (16)

◆ TIDL_OD_MAX_ANCHORS_PER_HEAD

#define TIDL_OD_MAX_ANCHORS_PER_HEAD   (16)

◆ TIDL_NET_VERSION

#define TIDL_NET_VERSION   (0x20200129)

◆ TIDL_OD_MAX_KEY_POINTS

#define TIDL_OD_MAX_KEY_POINTS   (8)

Typedef Documentation

◆ float32_tidl

typedef float float32_tidl

◆ float64_tidl

typedef double float64_tidl

Enumeration Type Documentation

◆ eTIDL_ResizeType

This enumerator defines the different types of element type used by TIDL library.

Enumerator
TIDL_ResizeNearest 
TIDL_ResizeBilinear 
TIDL_ResizeMax 

◆ eTIDL_RoiPoolingType

This enumerator defines the different types of ROI pooling supported by TIDL library.

Enumerator
TIDL_RoiPoolingFasterRCNN 
TIDL_RoiPoolingMax 

◆ eTIDL_metaArchType

This enumerator defines the different Meta Arch types.

Enumerator
TIDL_metaArchCaffeJacinto 
TIDL_metaArchTFSSD 
TIDL_metaArchTFFasterRcnn 
TIDL_metaArchTidlSsd 
TIDL_metaArchMax 

◆ eTIDL_processingType

This enumerator defines the different Meta Arch types.

Enumerator
TIDL_processingTypeDetectionOutput 
TIDL_processingTypeOdPostProcessing 
TIDL_processingTypeMax 

◆ eTIDL_inDataFormat

This enumerator defines the different indata formats.

Enumerator
TIDL_inDataFormatBGRPlanar 
TIDL_inDataFormatRGBPlanar 
TIDL_inDataFormatRGBMax 

◆ eTIDL_inResizeType

This enumerator defines the different indata formats.

Enumerator
TIDL_inResizeTypeDefault 
TIDL_inResizeTypeKeepAR 
TIDL_inResizeTypeMax 

Function Documentation

◆ TIDL_createParamsInit()

static int TIDL_createParamsInit ( TIDL_CreateParams params)
inlinestatic

Variable Documentation

◆ TIDL_VISION_FXNS

const IVISION_Fxns TIDL_VISION_FXNS

The unique const function table for the TI deep learning algorithm.