ultralytics-thop 2.0.8__py3-none-any.whl → 2.0.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- thop/__init__.py +1 -1
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.10.dist-info}/METADATA +6 -5
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.10.dist-info}/RECORD +6 -6
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.10.dist-info}/WHEEL +1 -1
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.10.dist-info}/LICENSE +0 -0
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.10.dist-info}/top_level.txt +0 -0
 
    
        thop/__init__.py
    CHANGED
    
    
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Metadata-Version: 2.1
         
     | 
| 
       2 
2 
     | 
    
         
             
            Name: ultralytics-thop
         
     | 
| 
       3 
     | 
    
         
            -
            Version: 2.0. 
     | 
| 
      
 3 
     | 
    
         
            +
            Version: 2.0.10
         
     | 
| 
       4 
4 
     | 
    
         
             
            Summary: Ultralytics THOP package for fast computation of PyTorch model FLOPs and parameters.
         
     | 
| 
       5 
5 
     | 
    
         
             
            Author-email: Ligeng Zhu <ligeng.zhu+github@gmail.com>
         
     | 
| 
       6 
6 
     | 
    
         
             
            Maintainer-email: Ultralytics <hello@ultralytics.com>
         
     | 
| 
         @@ -22,6 +22,7 @@ Classifier: Programming Language :: Python :: 3.9 
     | 
|
| 
       22 
22 
     | 
    
         
             
            Classifier: Programming Language :: Python :: 3.10
         
     | 
| 
       23 
23 
     | 
    
         
             
            Classifier: Programming Language :: Python :: 3.11
         
     | 
| 
       24 
24 
     | 
    
         
             
            Classifier: Programming Language :: Python :: 3.12
         
     | 
| 
      
 25 
     | 
    
         
            +
            Classifier: Programming Language :: Python :: 3.13
         
     | 
| 
       25 
26 
     | 
    
         
             
            Classifier: Topic :: Software Development
         
     | 
| 
       26 
27 
     | 
    
         
             
            Classifier: Topic :: Scientific/Engineering
         
     | 
| 
       27 
28 
     | 
    
         
             
            Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
         
     | 
| 
         @@ -36,13 +37,13 @@ Requires-Dist: numpy 
     | 
|
| 
       36 
37 
     | 
    
         
             
            Requires-Dist: torch
         
     | 
| 
       37 
38 
     | 
    
         | 
| 
       38 
39 
     | 
    
         
             
            <br>
         
     | 
| 
       39 
     | 
    
         
            -
            <a href="https://ultralytics.com" target="_blank"><img src="https://raw.githubusercontent.com/ultralytics/assets/main/logo/Ultralytics_Logotype_Original.svg" width="320" alt="Ultralytics logo"></a>
         
     | 
| 
      
 40 
     | 
    
         
            +
            <a href="https://www.ultralytics.com/" target="_blank"><img src="https://raw.githubusercontent.com/ultralytics/assets/main/logo/Ultralytics_Logotype_Original.svg" width="320" alt="Ultralytics logo"></a>
         
     | 
| 
       40 
41 
     | 
    
         | 
| 
       41 
42 
     | 
    
         
             
            # 🚀 THOP: PyTorch-OpCounter
         
     | 
| 
       42 
43 
     | 
    
         | 
| 
       43 
44 
     | 
    
         
             
            Welcome to the [THOP](https://github.com/ultralytics/thop) repository, your comprehensive solution for profiling PyTorch models by computing the number of Multiply-Accumulate Operations (MACs) and parameters. This tool is essential for deep learning practitioners to evaluate model efficiency and performance.
         
     | 
| 
       44 
45 
     | 
    
         | 
| 
       45 
     | 
    
         
            -
            [](https://github.com/ultralytics/thop/actions/workflows/main.yml) <a href="https:// 
     | 
| 
      
 46 
     | 
    
         
            +
            [](https://github.com/ultralytics/thop/actions/workflows/main.yml) <a href="https://discord.com/invite/ultralytics"><img alt="Discord" src="https://img.shields.io/discord/1089800235347353640?logo=discord&logoColor=white&label=Discord&color=blue"></a> <a href="https://community.ultralytics.com/"><img alt="Ultralytics Forums" src="https://img.shields.io/discourse/users?server=https%3A%2F%2Fcommunity.ultralytics.com&logo=discourse&label=Forums&color=blue"></a> <a href="https://reddit.com/r/ultralytics"><img alt="Ultralytics Reddit" src="https://img.shields.io/reddit/subreddit-subscribers/ultralytics?style=flat&logo=reddit&logoColor=white&label=Reddit&color=blue"></a>
         
     | 
| 
       46 
47 
     | 
    
         | 
| 
       47 
48 
     | 
    
         
             
            ## 📄 Description
         
     | 
| 
       48 
49 
     | 
    
         | 
| 
         @@ -170,7 +171,7 @@ The following table presents the parameters and MACs for popular models. These r 
     | 
|
| 
       170 
171 
     | 
    
         | 
| 
       171 
172 
     | 
    
         
             
            ## 💡 Contribute
         
     | 
| 
       172 
173 
     | 
    
         | 
| 
       173 
     | 
    
         
            -
            We welcome community contributions to enhance THOP. Please check our [Contributing Guide](https://docs.ultralytics.com/help/contributing) for more details. Your feedback and suggestions are highly appreciated!
         
     | 
| 
      
 174 
     | 
    
         
            +
            We welcome community contributions to enhance THOP. Please check our [Contributing Guide](https://docs.ultralytics.com/help/contributing/) for more details. Your feedback and suggestions are highly appreciated!
         
     | 
| 
       174 
175 
     | 
    
         | 
| 
       175 
176 
     | 
    
         
             
            ## 📄 License
         
     | 
| 
       176 
177 
     | 
    
         | 
| 
         @@ -194,5 +195,5 @@ For bugs or feature requests, please open an issue on [GitHub Issues](https://gi 
     | 
|
| 
       194 
195 
     | 
    
         
             
              <img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
         
     | 
| 
       195 
196 
     | 
    
         
             
              <a href="https://ultralytics.com/bilibili"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-bilibili.png" width="3%" alt="Ultralytics BiliBili"></a>
         
     | 
| 
       196 
197 
     | 
    
         
             
              <img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
         
     | 
| 
       197 
     | 
    
         
            -
              <a href="https:// 
     | 
| 
      
 198 
     | 
    
         
            +
              <a href="https://discord.com/invite/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="3%" alt="Ultralytics Discord"></a>
         
     | 
| 
       198 
199 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            thop/__init__.py,sha256= 
     | 
| 
      
 1 
     | 
    
         
            +
            thop/__init__.py,sha256=EqutCsqgnl72U4cbdGlRC4-Q6UVXehhSmO1r3wTltHo,148
         
     | 
| 
       2 
2 
     | 
    
         
             
            thop/fx_profile.py,sha256=u1eNvsRBTl9u0jJ6ymgrnrJP1VSLpAZkaEvm4D2mrI4,8172
         
     | 
| 
       3 
3 
     | 
    
         
             
            thop/profile.py,sha256=xIetT1iovk7t9iLvFajF8FqH2z_anItekOi93oeW9A4,7909
         
     | 
| 
       4 
4 
     | 
    
         
             
            thop/rnn_hooks.py,sha256=IwxLvVvbeo5skThdg3BKXm08_0GsM8FI2QM_alQcCB8,6432
         
     | 
| 
         @@ -6,8 +6,8 @@ thop/utils.py,sha256=SP5QWanMqVRieDoYGQN-7lftZmYXohn2E_m3cP17tS4,1413 
     | 
|
| 
       6 
6 
     | 
    
         
             
            thop/vision/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         
     | 
| 
       7 
7 
     | 
    
         
             
            thop/vision/basic_hooks.py,sha256=mYMNGI8vfP7OafqBirkt4G_5Wa5upfsTsrWj9Fiu0Ao,4637
         
     | 
| 
       8 
8 
     | 
    
         
             
            thop/vision/calc_func.py,sha256=5YbWp48XRbJYzSRkAFMr5xlM4o5BbjTcU6rHSKPkD6I,4291
         
     | 
| 
       9 
     | 
    
         
            -
            ultralytics_thop-2.0. 
     | 
| 
       10 
     | 
    
         
            -
            ultralytics_thop-2.0. 
     | 
| 
       11 
     | 
    
         
            -
            ultralytics_thop-2.0. 
     | 
| 
       12 
     | 
    
         
            -
            ultralytics_thop-2.0. 
     | 
| 
       13 
     | 
    
         
            -
            ultralytics_thop-2.0. 
     | 
| 
      
 9 
     | 
    
         
            +
            ultralytics_thop-2.0.10.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
         
     | 
| 
      
 10 
     | 
    
         
            +
            ultralytics_thop-2.0.10.dist-info/METADATA,sha256=TBY7dmD314oKNf2RDa9kdNaRcGk5UMY6ZqnOox5rXBw,9357
         
     | 
| 
      
 11 
     | 
    
         
            +
            ultralytics_thop-2.0.10.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
         
     | 
| 
      
 12 
     | 
    
         
            +
            ultralytics_thop-2.0.10.dist-info/top_level.txt,sha256=HQ7D0gSvDJ31CNR-f0EuXNVve05RYBmwyIkHQKiEhU8,5
         
     | 
| 
      
 13 
     | 
    
         
            +
            ultralytics_thop-2.0.10.dist-info/RECORD,,
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     |