Skip to main content
Jlee.91
Visitor II
December 27, 2022
Question

Where can I check the result of ai_network_get_error()?

  • December 27, 2022
  • 1 reply
  • 916 views

I used ai_network_get_error() and got the following results:

-> AI ai_network_run error - type=19 code=23

What does type and code mean here?

Where are the documents related to this?

I want to find the reason why the ai_network_run() is not working.

    This topic has been closed for replies.

    1 reply

    fauvarque.daniel
    ST Employee
    January 2, 2023

    The error ty[e and code are described in the ai_platform.h file

    In your case type = 19 --> 0x13 --> AI_ERROR_INVALID_OUTPUT

    code=23 --> 0x17 --> AI_ERROR_CODE_INVALID_PTR

    Regards

    Daniel