STM32N6 NPU Deployment — Politecnico di Milano  1.0
Documentation for Neural Network Deployment on STM32N6 NPU - Politecnico di Milano 2024-2025
utils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIN(a, b)   ((a)<(b)?(a):(b))
 
#define MAX(a, b)   ((a)>(b)?(a):(b))
 
#define ARRAY_NB(a)   (sizeof(a)/sizeof(a[0]))
 

Detailed Description

Author
GPM Application Team
Attention

Copyright (c) 2023 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file utils.h.

Macro Definition Documentation

◆ ARRAY_NB

#define ARRAY_NB (   a)    (sizeof(a)/sizeof(a[0]))

Definition at line 30 of file utils.h.

◆ MAX

#define MAX (   a,
 
)    ((a)>(b)?(a):(b))

Definition at line 27 of file utils.h.

◆ MIN

#define MIN (   a,
 
)    ((a)<(b)?(a):(b))

Definition at line 23 of file utils.h.