Skip to content
Snippets Groups Projects
Commit 2528c4d1 authored by Vincent Templier's avatar Vincent Templier
Browse files

Fix bad behiour of aidge fc hwc kernel

parent b9002bb7
No related branches found
No related tags found
2 merge requests!17v0.1.0,!12v0.4.0
...@@ -12,7 +12,7 @@ void aidge_fc_float32 (float* inputs, ...@@ -12,7 +12,7 @@ void aidge_fc_float32 (float* inputs,
float accum = biases[out]; float accum = biases[out];
for (unsigned int in = 0; in < nb_inputs; ++in) { for (unsigned int in = 0; in < nb_inputs; ++in) {
accum += inputs[in] * weights[in * nb_outputs + out]; accum += inputs[in] * weights[out * nb_inputs + in];
} }
// Store result // Store result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment