Is it possible to calculate the number of operations per inference? #5271
Unanswered
Apisteftos
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Sounds like this may be relevant: https://github.com/ThanatosShinji/onnx-tool, however, the true number of operations depend on the runtime implementation. For example, onnxruntime does additional optimization on the graph before executing it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello to everyone,
I need to calculate the throughput (TOPs) of an onnx model, but firstly I need to calculate the amount of the operations during the inference. Is any tool available and if not how can I estimate number of operations during the inference? I suppose that number is not static but dynamically during the inference. How is that possible?
Beta Was this translation helpful? Give feedback.
All reactions