calflops

This package is designed to compute the theoretical amount of FLOPs(floating-point operations)、MACs(multiply-add operations) and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 G…

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install calflops

Dependencies

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
0.3.2 2024-06-07    
0.3.1 2024-06-07    
0.3.0 2024-06-07    
0.2.9 2023-09-13    
0.2.8 2023-09-13    
0.2.7 2023-09-09    
0.2.6 2023-09-05
0.2.5 2023-09-03
0.2.0 2023-08-24
0.1.0 2023-08-23
0.0.9 2023-08-23
0.0.8 2023-08-22
0.0.7 2023-08-22
0.0.6 2023-08-22
0.0.5 2023-08-22
0.0.4 2023-08-21
0.0.3 2023-08-21
0.0.2 2023-08-21
0.0.1 2023-08-21

Issues with this package?

Page last updated 2026-09-03 09:14:46 UTC