ultralytics-thop 2.0.8__py3-none-any.whl → 2.0.9__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.9.dist-info}/METADATA +5 -5
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.9.dist-info}/RECORD +6 -6
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.9.dist-info}/LICENSE +0 -0
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.9.dist-info}/WHEEL +0 -0
 - {ultralytics_thop-2.0.8.dist-info → ultralytics_thop-2.0.9.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.9
         
     | 
| 
       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>
         
     | 
| 
         @@ -36,13 +36,13 @@ Requires-Dist: numpy 
     | 
|
| 
       36 
36 
     | 
    
         
             
            Requires-Dist: torch
         
     | 
| 
       37 
37 
     | 
    
         | 
| 
       38 
38 
     | 
    
         
             
            <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>
         
     | 
| 
      
 39 
     | 
    
         
            +
            <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 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         
             
            # 🚀 THOP: PyTorch-OpCounter
         
     | 
| 
       42 
42 
     | 
    
         | 
| 
       43 
43 
     | 
    
         
             
            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 
44 
     | 
    
         | 
| 
       45 
     | 
    
         
            -
            [](https://github.com/ultralytics/thop/actions/workflows/main.yml) <a href="https:// 
     | 
| 
      
 45 
     | 
    
         
            +
            [](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 
46 
     | 
    
         | 
| 
       47 
47 
     | 
    
         
             
            ## 📄 Description
         
     | 
| 
       48 
48 
     | 
    
         | 
| 
         @@ -170,7 +170,7 @@ The following table presents the parameters and MACs for popular models. These r 
     | 
|
| 
       170 
170 
     | 
    
         | 
| 
       171 
171 
     | 
    
         
             
            ## 💡 Contribute
         
     | 
| 
       172 
172 
     | 
    
         | 
| 
       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!
         
     | 
| 
      
 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 
174 
     | 
    
         | 
| 
       175 
175 
     | 
    
         
             
            ## 📄 License
         
     | 
| 
       176 
176 
     | 
    
         | 
| 
         @@ -194,5 +194,5 @@ For bugs or feature requests, please open an issue on [GitHub Issues](https://gi 
     | 
|
| 
       194 
194 
     | 
    
         
             
              <img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
         
     | 
| 
       195 
195 
     | 
    
         
             
              <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 
196 
     | 
    
         
             
              <img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
         
     | 
| 
       197 
     | 
    
         
            -
              <a href="https:// 
     | 
| 
      
 197 
     | 
    
         
            +
              <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 
198 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            thop/__init__.py,sha256= 
     | 
| 
      
 1 
     | 
    
         
            +
            thop/__init__.py,sha256=UhbQhSfYxXjgW2CBUfOYtk_Bw34h0CjshY0pusFRD_c,147
         
     | 
| 
       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.9.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
         
     | 
| 
      
 10 
     | 
    
         
            +
            ultralytics_thop-2.0.9.dist-info/METADATA,sha256=Ev1CbdqmCd_Xn0-UHX1GJZaC4050MWgqiRFZrENaMIA,9305
         
     | 
| 
      
 11 
     | 
    
         
            +
            ultralytics_thop-2.0.9.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
         
     | 
| 
      
 12 
     | 
    
         
            +
            ultralytics_thop-2.0.9.dist-info/top_level.txt,sha256=HQ7D0gSvDJ31CNR-f0EuXNVve05RYBmwyIkHQKiEhU8,5
         
     | 
| 
      
 13 
     | 
    
         
            +
            ultralytics_thop-2.0.9.dist-info/RECORD,,
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     |