ultralytics-thop 2.0.7__tar.gz → 2.0.9__tar.gz

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.
Files changed (22) hide show
  1. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/PKG-INFO +6 -6
  2. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/README.md +4 -4
  3. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/pyproject.toml +1 -1
  4. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/__init__.py +1 -1
  5. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/ultralytics_thop.egg-info/PKG-INFO +6 -6
  6. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/LICENSE +0 -0
  7. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/setup.cfg +0 -0
  8. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/tests/test_conv2d.py +0 -0
  9. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/tests/test_matmul.py +0 -0
  10. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/tests/test_relu.py +0 -0
  11. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/tests/test_utils.py +0 -0
  12. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/fx_profile.py +0 -0
  13. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/profile.py +0 -0
  14. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/rnn_hooks.py +0 -0
  15. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/utils.py +0 -0
  16. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/vision/__init__.py +0 -0
  17. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/vision/basic_hooks.py +0 -0
  18. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/thop/vision/calc_func.py +0 -0
  19. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/ultralytics_thop.egg-info/SOURCES.txt +0 -0
  20. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/ultralytics_thop.egg-info/dependency_links.txt +0 -0
  21. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/ultralytics_thop.egg-info/requires.txt +0 -0
  22. {ultralytics_thop-2.0.7 → ultralytics_thop-2.0.9}/ultralytics_thop.egg-info/top_level.txt +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ultralytics-thop
3
- Version: 2.0.7
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
- Maintainer: Glenn Jocher
6
+ Maintainer-email: Ultralytics <hello@ultralytics.com>
7
7
  License: AGPL-3.0
8
8
  Project-URL: Homepage, https://ultralytics.com
9
9
  Project-URL: Source, https://github.com/ultralytics/thop
@@ -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
- [![GitHub Actions](https://github.com/ultralytics/thop/actions/workflows/format.yml/badge.svg)](https://github.com/ultralytics/thop/actions/workflows/main.yml) <a href="https://ultralytics.com/discord"><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>
45
+ [![GitHub Actions](https://github.com/ultralytics/thop/actions/workflows/format.yml/badge.svg)](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://ultralytics.com/discord"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="3%" alt="Ultralytics Discord"></a>
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,11 +1,11 @@
1
1
  <br>
2
- <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>
2
+ <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>
3
3
 
4
4
  # 🚀 THOP: PyTorch-OpCounter
5
5
 
6
6
  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.
7
7
 
8
- [![GitHub Actions](https://github.com/ultralytics/thop/actions/workflows/format.yml/badge.svg)](https://github.com/ultralytics/thop/actions/workflows/main.yml) <a href="https://ultralytics.com/discord"><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>
8
+ [![GitHub Actions](https://github.com/ultralytics/thop/actions/workflows/format.yml/badge.svg)](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>
9
9
 
10
10
  ## 📄 Description
11
11
 
@@ -133,7 +133,7 @@ The following table presents the parameters and MACs for popular models. These r
133
133
 
134
134
  ## 💡 Contribute
135
135
 
136
- 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!
136
+ 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!
137
137
 
138
138
  ## 📄 License
139
139
 
@@ -157,5 +157,5 @@ For bugs or feature requests, please open an issue on [GitHub Issues](https://gi
157
157
  <img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
158
158
  <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>
159
159
  <img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
160
- <a href="https://ultralytics.com/discord"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="3%" alt="Ultralytics Discord"></a>
160
+ <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>
161
161
  </div>
@@ -35,7 +35,7 @@ authors = [
35
35
  { name = "Ligeng Zhu", email = "ligeng.zhu+github@gmail.com" }
36
36
  ]
37
37
  maintainers = [
38
- { name = "Glenn Jocher" },
38
+ { name = "Ultralytics", email = "hello@ultralytics.com" }
39
39
  ]
40
40
  classifiers = [
41
41
  "Development Status :: 4 - Beta",
@@ -1,4 +1,4 @@
1
- __version__ = "2.0.7"
1
+ __version__ = "2.0.9"
2
2
 
3
3
 
4
4
  import torch
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ultralytics-thop
3
- Version: 2.0.7
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
- Maintainer: Glenn Jocher
6
+ Maintainer-email: Ultralytics <hello@ultralytics.com>
7
7
  License: AGPL-3.0
8
8
  Project-URL: Homepage, https://ultralytics.com
9
9
  Project-URL: Source, https://github.com/ultralytics/thop
@@ -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
- [![GitHub Actions](https://github.com/ultralytics/thop/actions/workflows/format.yml/badge.svg)](https://github.com/ultralytics/thop/actions/workflows/main.yml) <a href="https://ultralytics.com/discord"><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>
45
+ [![GitHub Actions](https://github.com/ultralytics/thop/actions/workflows/format.yml/badge.svg)](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://ultralytics.com/discord"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="3%" alt="Ultralytics Discord"></a>
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>