Count FLOPs for built-in MATLAB functions

Hello
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!

回答 (1 件)

Anshika Chaurasia
Anshika Chaurasia 2021 年 2 月 9 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2020b

タグ

質問済み:

2021 年 2 月 3 日

回答済み:

2021 年 2 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by