Amount of Memory needed for various Networks?
Show older comments
I'm looking to deploy a trained network onto an ARM chip but limited by memory. Is there a way to figure out how much memory is needed or compute availablility is needed for a specific network?
Answers (1)
Ranjeet
on 30 Jun 2023
0 votes
Hi Wilson,
The amount of memory needed by a network depends on number of learnable parameters and activations. You may analyse a network using the following network analyser functionality –
Network analyser provides data for a network like the following image –

Total learnable and activations can be summed up and multiplies by the data type that is used to store to the network size. Data type can be ‘float32’, ‘int16’, ‘int8’, etc.
Also, you may find the following resource useful w.r.t deploying a network on ARM microcontroller –
Categories
Find more on Parallel and Cloud in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!