by NebulaTrek · 2y ago · 0 comments
The workload is relatively small, which results in underutilization of the hardware capacity due to the overhead associated with input/output quantization-dequantization and NCHW-NHCW mapping. Padding the weights and inputs to be a multiple of 64 would also help the performance.
Edit: Link to the profiling graph https://imgur.com/a/2OKR93e
Estimated HVX compute capability 421.43*1024/8 = 1.46TOPS in int8,
in which 4 is number of vector cores
2 is number operation per cycle
1.43GHz is HVX frequency
1024bit is vector register width
8bit is precision