cancel
Showing results for 
Search instead for 
Did you mean: 

How to understand the output of Cube AI after analyze a model?

Z-YF
Associate

I am using the X-Cube-AI to deploy a neural network onto  a STM32N6570-DK board. I selected the "n6-allmems-O3" option, and after analyzing, it shows two data, labeled as used RAM and used Flash. I am wondering since I have selected the "allmems" option, the RAM usage refers to the usage of the external RAM or the internal RAM, and the Flash usage refers to the internal Flash or the external Flash.

1 ACCEPTED SOLUTION

Accepted Solutions
Julian E.
ST Employee

Hello @Z-YF,

 

Here is the doc:

  1. https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_neural_art_compiler.html#ref_st_neural_art_option
  2. https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_neural_art_compiler.html#ref_aton_compiler_mempools

 

Basically, the memory pool describes what memory you authorize the compiler to use when allocating the weights and activation of your model.

When you use allmems, you authorize the compiler to use everything and the compiler will try to use the fastest memory first, then the slowest for you to have the best inference time.

 

This can also be useful:

https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_programming_model.html

 

Have a good day,

Julian


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.

View solution in original post

1 REPLY 1
Julian E.
ST Employee

Hello @Z-YF,

 

Here is the doc:

  1. https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_neural_art_compiler.html#ref_st_neural_art_option
  2. https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_neural_art_compiler.html#ref_aton_compiler_mempools

 

Basically, the memory pool describes what memory you authorize the compiler to use when allocating the weights and activation of your model.

When you use allmems, you authorize the compiler to use everything and the compiler will try to use the fastest memory first, then the slowest for you to have the best inference time.

 

This can also be useful:

https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_programming_model.html

 

Have a good day,

Julian


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.