Count FLOPs for built-in MATLAB functions

12 views (last 30 days)
I am trying to analyze the complexity of some Machine Learning algorithms, for example a basic Feedforward Neural Network. I use in this case the code provided by the Neural Net Pattern Recognition app. It would be of great interest to not measure runtime only, but also count the number of FLOPs when changing a network structure. User defined functions do not seem reasonable to use with built-in MATLAB functions, thus I wonder if it is possible in general to count the floating point operations in this case. Thank you in advance!

Answers (1)

Anshika Chaurasia
Anshika Chaurasia on 9 Feb 2021
Hi Dorin,
Currently, there is no function to calculate FLOPs.
I have brought this issue to the notice of our developers. They may investigate the matter further.





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by