 |
Edge AI Add-on API 2.2.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
14#ifndef _NRF_NN_DEBUG_H_
15#define _NRF_NN_DEBUG_H_
26#ifdef NRF_NN_ENABLE_RUNTIME_CHECKS
27#define NRF_NN_RETURN_IF(is_true, ret_val) RETURN_IF(is_true, ret_val)
29#define NRF_NN_RETURN_IF(is_true, ret_val) ;
36#ifndef NRF_NN_LOG_ENABLE
37#define NRF_NN_LOG_ENABLE 0
40#if NRF_NN_LOG_ENABLE == 1
42#define NRF_NN_LOG(...) printf(__VA_ARGS__)
44#define NRF_NN_LOG(...)
51#ifndef NRF_NN_ASSERT_ENABLE
52#define NRF_NN_ASSERT_ENABLE 0
55#if NRF_NN_ASSERT_ENABLE == 1
57#define nrf_nn_assert(x) assert(x)
59#define nrf_nn_assert(x) ;