141 #ifndef TIDL_DATAFLOW_H_ 142 #define TIDL_DATAFLOW_H_ 169 #define TIDL_INT8 ((uint32_t) 0) 170 #define TIDL_INT16 ((uint32_t) 1) 171 #define TIDL_INT32 ((uint32_t) 2) 172 #define TIDL_INT64 ((uint32_t) 3) 173 #define TIDL_UINT8 ((uint32_t) 4) 174 #define TIDL_UINT16 ((uint32_t) 5) 175 #define TIDL_UINT24 ((uint32_t) 6) 176 #define TIDL_UINT32 ((uint32_t) 7) 177 #define TIDL_UINT64 ((uint32_t) 8) 179 #define TIDL_FLOAT16 ((uint32_t) 9) 180 #define TIDL_FLOAT32 ((uint32_t) 10) 181 #define TIDL_FLOAT64 ((uint32_t) 11) 271 const void *srcPtr[],
288 #define TIDL_DataFlowTypeOneTensorInProcOneChannel ((int32_t) 0) 291 #define TIDL_DataFlowTypeOneTensorInProcMultiChannel ((int32_t) 1) 295 #define TIDL_DataFlowTypeMultiTensorInProcOneTensor ((int32_t) 2) 299 #define TIDL_DataFlowTypeMultiTensorInProcMultiTensor ((int32_t) 3) TIDL_DataflowKernelInitFuncPtr initFuncPtr
Definition: tidl_dataflow.h:327
int32_t(* TIDL_DataflowKernelExecFuncPtr)(void *kernelHandle, const TIDL_bufParams3D_t *srcAddr, const TIDL_bufParams3D_t *dstAddr, const void *srcPtr[], void *dstPtr)
This function is the main compute function, and performs the argmaxing operation for CNN...
Definition: tidl_dataflow.h:268
uint32_t dim_x
Definition: tidl_dataflow.h:197
float32_tidl * tensorScaleList
Definition: tidl_dataflow.h:209
int32_t dataFlowType
Definition: tidl_dataflow.h:314
int32_t stride_y
Definition: tidl_dataflow.h:202
float float32_tidl
Definition: itidl_ti.h:130
TIDL_DataflowKernelExecFuncPtr execFuncPtr
Definition: tidl_dataflow.h:332
int32_t stride_z
Definition: tidl_dataflow.h:207
int32_t TIDL_DataflowInit(void *tidlHandle, TIDL_DataflowInitParams *initParams)
This function initialized the dataflow handle.
int32_t(* TIDL_DataflowKernelInitFuncPtr)(void *kernelHandle, const TIDL_bufParams3D_t *srcAddr, const TIDL_bufParams3D_t *dstAddr, void *pKerInitArgs)
This function call is required to initialize the handle. In this function most of the one time operat...
Definition: tidl_dataflow.h:247
A structure for a 3 dimensional buffer descriptor.
Definition: tidl_dataflow.h:311
TIDL_DataflowKernelGetHandleSize getHandleSize
Definition: tidl_dataflow.h:317
uint32_t data_type
Definition: tidl_dataflow.h:194
Definition: tidl_dataflow.h:191
int32_t(* TIDL_DataflowKernelGetHandleSize)(void *pKerInitArgs)
This function call is required to know the memroy required by kernel handle.
Definition: tidl_dataflow.h:227
int32_t * tensorZeroPointList
Definition: tidl_dataflow.h:211
uint32_t dim_z
Definition: tidl_dataflow.h:205
void * kernelInitArgs
Definition: tidl_dataflow.h:337
int32_t TIDL_DataflowProcess(void *tidlHandle, void *inPtrs[], void *outPtr[])
This function initialized the dataflow handle.
uint32_t dim_y
Definition: tidl_dataflow.h:200