Part Number: PROCESSOR-SDK-DRA8X-TDA4X
Hello,
I am trying to create an application using QNX 7.0 SDP to test out the DNN process. I am converting a ONNX based model using the TIDL importer. The model used float input for a point cloud (x,y,z,r). I am trying to figure out the nomenclature for the stride input the tivxMapTensorPatch() function. I am seeing plenty of examples relating to a camera based input but not a point cloud or other generic tensor type input.
So far, I am trying to base my code on the example located in tiovx/ch05_tidl/vx_tutorial_tidl.c:readInput. In the creation of the tensor I do not populated stride but I am unclear what I need for the tivxMapTensorPatch() function. The parameter description of "An array of stride in all dimensions in bytes. The stride value at index 0 must be size of the tensor data element type." does not make sense to me. The input type will be uint8_t after the importer. Is there any pictorial documentation that describes these terms in relation to a generic tensor (not picture or camera based example) using the rank of the tensor that maps to the sTIDL_IOBufDesc_t structure?
Thanks,
Weston