![]() |
Edge AI Add-on API 2.2.0
|
| #define NRF_NN_RETURN_IF | ( | is_true, | |
| ret_val ) |
#include <include/nrf_edgeai/nn/platform/nrf_nn_platform_debug.h>
Macro for verifying that the provided condition is true. It will cause the exterior function to return an error value if it is not, only if runtime checks are enabled.
| [in] | is_true | Boolean condition to check. |
| [in] | ret_val | The value to be returned if the checks fails |