More plumbing

This commit is contained in:
Jean-Marc Valin 2018-11-26 02:33:49 -05:00
parent 7119eaf33b
commit 4cf177412b
3 changed files with 104 additions and 3 deletions

View file

@ -190,7 +190,7 @@ hf.write('#define MAX_MDENSE_TMP {}\n\n'.format(max_mdense_tmp))
hf.write('typedef struct {\n')
for i, name in enumerate(layer_list):
hf.write(' float {}_state[{}_STATE_SIZE];\n'.format(name, name.upper()))
hf.write('} LPCNetState;\n')
hf.write('} NNetState;\n')
hf.write('\n\n#endif\n')