STM32 CUBE-AI Running Multi network
I am producing two different models on STM32CubeIde on STM32CubeIde. I want to use two different networks by using Multi network functions in app_x-cube-ai.c file but I was not successful. Is there a document or sample code about this?
uint8_t init_multi_network(void)
{
if ((error = ai_mnetwork_create("onnx", &onnx_, NULL).type) == AI_ERROR_NONE)
{
if(ai_mnetwork_init(onnx_))
{
p_ai_input = ai_platform_inputs_get(onnx_,NULL); // !!!!!!!ai buffer get function is not returning valid value, returning zero
}
}
else
{
};
return 0;
}
;
