MATLAB Answers

FLOPs of DAG neural network

14 views (last 30 days)
Hi, everyone. Is there any way to measure the FLOPs or computational complexity of DAG neural network or functions? I tried to statistic the excution time then calculate the FLOPs by profile roughly, but I think DAG is based on C++ or accelerated, therefore, the result of FLOPs is not trustable? Any suggestion?

Accepted Answer

David Willingham
David Willingham on 26 May 2021
Hi Dianxin,
FLOPs is a performance measure that's not typically used for Deep Learning. Performance can be measured in many ways, here's a list of some:
Throughput - E.g. Predictions per sec
Training Time - E.g. Time to reach x% of validation accuracy
Memory - E.g. How many MB of the network based on the weights
Power - E.g. For embedded devices, how much energy is required to make a prediction

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by