-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcommon.mk
More file actions
36 lines (25 loc) · 684 Bytes
/
Copy pathcommon.mk
File metadata and controls
36 lines (25 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
NNTOOL=nntool
MODEL_SQ8=1
# MODEL_POW2=1
# MODEL_FP16=1
# MODEL_NE16=1
MODEL_SUFFIX?=
MODEL_PREFIX?=nanoflownet_unquantized
MODEL_PYTHON=python3
MODEL_BUILD=BUILD_MODEL$(MODEL_SUFFIX)
TRAINED_MODEL = nanoflownet_unquantized.tflite
MODEL_EXPRESSIONS = $(MODEL_BUILD)/Expression_Kernels.c
NNTOOL_EXTRA_FLAGS +=
# Memory sizes for cluster L1, SoC L2 and Flash
TARGET_L1_SIZE = 44000
TARGET_L2_SIZE = 30000
TARGET_L3_SIZE = 8000000
# Cluster stack size for master core and other cores
CLUSTER_STACK_SIZE=12288
CLUSTER_SLAVE_STACK_SIZE=1024
CLUSTER_NUM_CORES=8
# FLASH and RAM type
FLASH_TYPE = HYPER
RAM_TYPE = HYPER
NNTOOL_SCRIPT = nntool_script
$(info GEN ... $(CNN_GEN))