thop

A tool to count the FLOPs of PyTorch model.

Installation

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

pip3 install thop

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
0.1.1.post2209072238 2022-09-07
0.1.1.post2207130030 2022-07-12
0.1.0.post2207010342 2022-06-30
0.1.0.post2206102148 2022-06-10
0.0.31-2005241907 2020-05-24
0.0.31-2005141830 2020-05-14
0.0.31-2005141432 2020-05-14
0.0.31-2004101309 2020-04-10
0.0.31-2004070130 2020-04-07
0.0.31-2001170342 2020-01-17
0.0.31-1912272122 2019-12-27
0.0.31-1910280903 2019-10-28
0.0.31-1909230639 2019-09-23
0.0.31-1909021322 2019-09-02
0.0.30-1908302010 2019-08-30
0.0.30-1908282117 2019-08-28
0.0.30-1908282106 2019-08-28
0.0.30-1908282105 2019-08-28
0.0.30-1908281655 2019-08-28  
0.0.30-1908061501 2019-08-06  
0.0.30-1908061459 2019-08-06  
0.0.30-190806 2019-08-06  
0.0.23-1908061459 2019-08-06  
0.0.23-1908021522 2019-08-02  
0.0.23-1908021517 2019-08-02  
0.0.23-1908021457 2019-08-02  
0.0.23-1907171430 2019-07-17  
0.0.23-1907171426 2019-07-17  
0.0.23-1907011323 2019-07-01  
0.0.23-1906241402 2019-06-24  
0.0.23-1906241219 2019-06-24  
0.0.23-1906241153 2019-06-24  
0.0.22-421392844089 2019-06-24  
0.0.22-1906241147 2019-06-24  
0.0.22 2018-11-18
0.0.5.post2206102148 2022-06-10
0.0.5.post2206100352 2022-06-09
0.0.5-2110061705 2021-10-06
0.0.4-2110061704 2021-10-06
0.0.4-2109101452 2021-09-10
0.0.4-2109101449 2021-09-10
0.0.4-2108202217 2021-08-20
0.0.4-2009191310 2020-09-19
0.0.4-2009041907 2020-09-04
0.0.4-2007140009 2020-07-14
0.0.4-2006111041 2020-06-11
0.0.4-2006032126 2020-06-03
0.0.2 2018-11-18
0.0.1 2018-11-18

Issues with this package?

Page last updated 2025-07-17 22:23:31 UTC