Set the w_pecision = 8 in the gen_weights.py and C-Simulation Fail #137
Unanswered
lkl110137918218
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I am currently trying to use the conv layer in this library (i.e. test_conv3.tcl) and testing it on the first convolution layer of VGG16. When I set the value below in the gen_weights.py.
It failed during the C-simulation, as shown in the figure below, with a difference between the expected and actual values.
BUT, If I change the w_precision, i.e., w_precision = 1, everything works well, and C-simulation is successful. I have no idea how to fix this problem because I only set the different parameter at w_precision and didn't modify any source code. Please help me, thanks.
Beta Was this translation helpful? Give feedback.
All reactions