Skip to main content
BFaru.1
Associate II
April 3, 2023
Question

I am having an issue in the code generated from X-CUBE-AI library. The C generated code for my tflite model (called network) is giving following error: /X-CUBE-AI/App/network.h:40:3: error: invalid initializer

  • April 3, 2023
  • 1 reply
  • 1696 views

The error is in the network.c code file generated by the X-CUBE-AI library. I have chosen "Not Selected" option in drop down option for X-CUBE-AI. The code below is giving the error as mentioned:

0693W00000bhR9nQAE.png

    This topic has been closed for replies.

    1 reply

    fauvarque.daniel
    ST Employee
    April 4, 2023

    This macro is deprecated and not used in the generated code normally

    Regards

    ​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
    BFaru.1
    BFaru.1Author
    Associate II
    April 4, 2023

    Is there a way around it?​