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.

The meaning of parameters in TIDL usecase

Hi,

in function tidlCreateAlgInstance in tidlLink_algPlugin.c file you set :

pAlgCreateParams->quantHistoryParam1 = 20;
pAlgCreateParams->quantHistoryParam2 = 5;
pAlgCreateParams->quantMargin = 0;

Could you explain to me meaning of those parameters?

Regards,

Nevena

  • Hi Nevena,

    I have forwarded your question to TIDL experts.

    Regards,
    Yordan
  • Hi Nevena,
    TIDL maintains range statistics for previously processed frames. It quantizes the current inference activations using range statistics from history for processes (weighted average range).
    quantMargin is margin added to the average in percentage.
    quantHistoryParam1 weights used for previously processed inference during application boot time
    quantHistoryParam2 weights used for previously processed inference during application execution (After initial few frames)

    Documentation is missing for these parameters. Will add in the next release.
    Find the two related threads for additional info
    e2e.ti.com/.../
    e2e.ti.com/.../637598

    Thanks and Regards,
    Kumar.D