mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 03:56:57 +03:00
30 lines
806 B
Plaintext
30 lines
806 B
Plaintext
menu "ESP-NN"
|
|
|
|
choice NN_OPTIMIZATIONS
|
|
bool "Optimization for nn functions"
|
|
default NN_OPTIMIZED
|
|
help
|
|
Use ANSI-C versions for verification and debug purpose.
|
|
Optimisations are automatically picked up for a chipset.
|
|
For ESP32-S3, assembly Optimisations are selected.
|
|
For ESP32, just the ANSI C versions are selected for now.
|
|
|
|
config NN_ANSI_C
|
|
bool "ANSI C"
|
|
help
|
|
ANSI C versions for verification and debug purposes.
|
|
config NN_OPTIMIZED
|
|
bool "Optimized versions"
|
|
help
|
|
Optimisations are automatically picked up for a chipset.
|
|
For ESP32-S3, assembly Optimisations are selected.
|
|
For ESP32, just the ANSI C versions are selected for now.
|
|
endchoice
|
|
|
|
config NN_OPTIMIZATIONS
|
|
int
|
|
default 0 if NN_ANSI_C
|
|
default 1 if NN_OPTIMIZED
|
|
|
|
endmenu
|