2020-02-20 06:11 AM
Hello,
I am using X-CUBE-AI version 5.0.0,
in the generated application template code , aiInit recives a pointer "activations", which is passed to " AI_<>_DATA_ACTIVATIONS()".
What should be the value of this parameter ?
Best Regards
Hossam Alzomor
Solved! Go to Solution.
2020-02-20 06:20 AM
This is a buffer that needs to be allocated and used by the ai_***_run()
You can get all the details in the documentation (Documentation/embedded_client_api.html) see figure 3:
2020-02-20 06:18 AM
I think I should pass a pointer buffer
static ai_u8 activations[AI_<network>_DATA_ACTIVATIONS_SIZE];
2020-02-20 06:20 AM
This is a buffer that needs to be allocated and used by the ai_***_run()
You can get all the details in the documentation (Documentation/embedded_client_api.html) see figure 3: