We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a4a23 commit 12639dfCopy full SHA for 12639df
scripts/shrink_model.sh
@@ -0,0 +1,7 @@
1
+#!/bin/sh
2
+
3
+for i in rnnoise_data.c
4
+do
5
+ cat src/$i | perl -ne 'if (/DEBUG/ || /#else/) {$skip=1} if (!$skip && !/ifdef DOT_PROD/) {s/^ *//; s/, /,/g; print $_} elsif (/endif/) {$skip=0}' > tmp_data.c
6
+ mv tmp_data.c src/$i
7
+done
0 commit comments