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: TDA4VM

Part Number: TDA4VM

Hi,

I'm testing a neural network (Resnet) with PSDK version 08_05_00_11.

While running the model on target side, I have observed getting different NETWORK_EXECUTION_TIME while doing emulation with different values of these parameters debugTraceLevel, writeTraceLevel, writeOutput.

I have tried with different configurations as mentioned below:

debugTraceLevel, writeTraceLevel, writeOutput

Average Time in ms
0,0,1 22
1,1,2 1352.97
1,2,2 1398.90
1,3,2
8321.3

The above values are for doing emulation on target for 5 frames using 8 bit configuration.

My question is "How to get the correct execution time of the network?"

Thanks,

Chaitanya Prakash Uppala

  • Hi Chaitanya,
    The very first row would be the right way to measure latency (with no traces enabled, but final output being written out). All other options are either printing out debug information or are dumping out intermediate tensors from your network.

    Regards,
    Varun