STM32N6 NPU Deployment — Politecnico di Milano  1.0
Documentation for Neural Network Deployment on STM32N6 NPU - Politecnico di Milano 2024-2025
utils.h
Go to the documentation of this file.
1 
19 #ifndef UTILS
20 #define UTILS
21 
22 #ifndef MIN
23 #define MIN(a,b) ((a)<(b)?(a):(b))
24 #endif
25 
26 #ifndef MAX
27 #define MAX(a,b) ((a)>(b)?(a):(b))
28 #endif
29 
30 #define ARRAY_NB(a) (sizeof(a)/sizeof(a[0]))
31 
32 #endif