This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: TIDL issue with slice layer

Part Number: TDA4VM

Tool/software:

Hi all,

We experience an issue with a network whose architecture is shown below:

The network is compiled without errors using EdgeAI TIDL Tools v09_01_08_00 (PSDK v09.01.00.06) and executes correctly in PC emulation mode. The output results comparison between floating-point and quantized fixed-point results is illustrated below.

However, when we run the compiled network on the target (TDA4VM), we get different results (see the image below).

We analyzed results for each layer and the result mismatch is observed at the very first convolution layer. It seems like the outputs somehow get corrupted (we suspect it is some synchronization issue related to in-place modification of a data buffer in the slice layer while the same data is used in the second convolution, because the network runs correctly when the Slice layer is removed). We tried to enforce some computation on the slice branch to avoid in-place buffer modification (e.g., by introducing combination of Add and Sub layers before and after the Slice layer), but the issue remains.

We tried to compile the network with the latest EdgeAI TIDL Tools (v10_01_04_00) and run in it with the latest PDSK v10.01.00.04. However, the issue remains even with the latest tools and PSDK version. Is it a known issue and does someone happen to know how to mitigate it?

I attach the ONNX model below so you can reproduce the issue and propose a possible fix.

TestNetwork.zip

Best regards,

Mladen