aboutsummaryrefslogtreecommitdiff
path: root/applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h
diff options
context:
space:
mode:
authorDavide Grohmann <davide.grohmann@arm.com>2022-08-08 17:12:08 +0200
committerDavide Grohmann <davide.grohmann@arm.com>2022-08-17 09:56:14 +0200
commit5508acb0c7803769b9bbda08762b232c13272bd9 (patch)
treecf62375a3d12e59c821318a13abaa510792fff69 /applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h
parent06f954bb6dd56921f1fb38e3e36405e3f1c70ef9 (diff)
downloadethos-u-core-platform-5508acb0c7803769b9bbda08762b232c13272bd9.tar.gz
Generalize test models to be reused
Change-Id: I47705cfde2788fa74f8bbcd07100188e4690dbf2
Diffstat (limited to 'applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h')
-rw-r--r--applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h b/applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h
index e8e51bb..95d8d09 100644
--- a/applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h
+++ b/applications/baremetal/models/ethos-u65-256/keyword_spotting_dnn_medium_int8/model.h
@@ -18,12 +18,14 @@
/*************************************************************************************
* Model: keyword_spotting_dnn_medium_int8
- * Source: https://github.com/ARM-software/ML-zoo/tree/master/models/keyword_spotting/dnn_medium/tflite_int8
+ * Source: https://github.com/ARM-software/ML-zoo/tree/22.02/models/keyword_spotting/dnn_medium/tflite_int8
* Vela optimisation: vela --accelerator-config ethos-u65-256 --memory-mode Shared_Sram dnn_m_quantized.tflite
* Hexdump: xxd -i dnn_m_quantized_vela.tflite model.h
************************************************************************************/
-#define TENSOR_ARENA_SIZE 2000
+#include <stddef.h>
+
+const size_t tensorArenaSize = 2000;
const char *modelName = "keyword_spotting_dnn_medium_int8";
@@ -10457,4 +10459,4 @@ unsigned char networkModelData[] __attribute__((aligned(16), section("network_mo
0x00, 0x00, 0x56, 0x65, 0x6c, 0x61, 0x20, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x73, 0x65, 0x64, 0x00, 0x00, 0x01,
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x0f, 0x00, 0x04, 0x00, 0x00, 0x00, 0x08, 0x00,
0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x07, 0x00, 0x00,
- 0x00, 0x65, 0x74, 0x68, 0x6f, 0x73, 0x2d, 0x75, 0x00}; \ No newline at end of file
+ 0x00, 0x65, 0x74, 0x68, 0x6f, 0x73, 0x2d, 0x75, 0x00};