Closed GasparQ closed 4 years ago
Hi,
Thank you very much for the report.
It's an error on our side that appeared with the refactorization of the quantization mechanism. The last commit (2734fa1d5e9c5725beb85a5d8c24c5f020442a6f) should fix the issue.
Problem
I open this issue to say that the Quantization système for the softmax layer doesn't work anymore for int target with
-calib -1
.Reproduce
Execute the command
n2d2 mnist24_16c4s2_24c5s2_150_10.ini -export C -nbbits 16 -calib -1
You'll have the following error :
Start of resolution
The error seems to be thrown from the file
src/DeepNetQuantization.cpp
atline 417
:There are 3 modes represented here :
The exception is thrown if we don't have one of the following case.
In which mode the SoftmaxCell need to be ?