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

Fix weight size issue in fc template

parent 16469c1d
No related branches found
No related tags found
1 merge request!1Add Node export for Cpp export
......@@ -13,7 +13,7 @@
static const {{ rescaling }} {{ name|upper }}_RESCALING = {};
{#- Calculate sizes #}
{%- set weights_size = output_dims[0] * input_dims[0] %}
{%- set weights_size = output_dims[0] * input_dims[0] * input_dims[1] * input_dims[2] %}
#define {{ name|upper }}_WEIGHTS_SIZE {{ weights_size }}
#define {{ name|upper }}_BIASES_SIZE {{ output_dims[0] }}
......
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