-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript
More file actions
27 lines (26 loc) · 1.04 KB
/
script
File metadata and controls
27 lines (26 loc) · 1.04 KB
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
config load "C:/tmp/ioc_2cFMaR/STM32F746G-DISCO.ioc"
project toolchain STM32CubeIDE
pack enable STMicroelectronics X-CUBE-AI 9.1.0 "Artificial Intelligence" Core
pack enable STMicroelectronics X-CUBE-AI 9.1.0 Device Application SystemPerformance
pack validate
AI set modes 2
AI init bsp
AI add model "network" "tflite" "C:\_AI_Projects\AI_as_a_Service\AIaaS\backend\project_service\templates\deepnet_relu.tflite"
AI forcecopytype
AI load requiredPreloadScript
AI setboard STM32F746G-DISCO
AI extflash "network" "External NOR Flash" 0x90000000 16
AI extram "network" "External SDRAM" 0xC0000000 false
AI bufferextram "network" 0xC0000000
AI settings "network" splitweights
AI extflashtensor "network" "gemm_0_bias_array"
AI extflashtensor "network" "gemm_0_weights_array"
AI extflashtensor "network" "gemm_1_bias_array"
AI extflashtensor "network" "gemm_1_weights_array"
AI extflashtensor "network" "gemm_2_bias_array"
AI extflashtensor "network" "gemm_2_weights_array"
project set heapsize 0x800
project set stacksize 0x800
AI save "network"
project generate
exit