tensorguard 1.0.2__tar.gz → 1.0.3__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 (24) hide show
  1. {tensorguard-1.0.2/tensorguard.egg-info → tensorguard-1.0.3}/PKG-INFO +1 -1
  2. {tensorguard-1.0.2 → tensorguard-1.0.3}/setup.py +1 -1
  3. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/__init__.py +3 -2
  4. {tensorguard-1.0.2 → tensorguard-1.0.3/tensorguard.egg-info}/PKG-INFO +1 -1
  5. {tensorguard-1.0.2 → tensorguard-1.0.3}/LICENSE +0 -0
  6. {tensorguard-1.0.2 → tensorguard-1.0.3}/MANIFEST.in +0 -0
  7. {tensorguard-1.0.2 → tensorguard-1.0.3}/README.md +0 -0
  8. {tensorguard-1.0.2 → tensorguard-1.0.3}/requirements.txt +0 -0
  9. {tensorguard-1.0.2 → tensorguard-1.0.3}/setup.cfg +0 -0
  10. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/dim_specs.py +0 -0
  11. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/exception.py +0 -0
  12. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/guard.py +0 -0
  13. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/parser.py +0 -0
  14. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/shape_spec.py +0 -0
  15. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/shape_spec_parser.py +0 -0
  16. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard/tools.py +0 -0
  17. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard.egg-info/SOURCES.txt +0 -0
  18. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard.egg-info/dependency_links.txt +0 -0
  19. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard.egg-info/requires.txt +0 -0
  20. {tensorguard-1.0.2 → tensorguard-1.0.3}/tensorguard.egg-info/top_level.txt +0 -0
  21. {tensorguard-1.0.2 → tensorguard-1.0.3}/test-requirements.txt +0 -0
  22. {tensorguard-1.0.2 → tensorguard-1.0.3}/tests/test_global_accessors.py +0 -0
  23. {tensorguard-1.0.2 → tensorguard-1.0.3}/tests/test_guard.py +0 -0
  24. {tensorguard-1.0.2 → tensorguard-1.0.3}/tests/test_match.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tensorguard
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: TensorGuard helps to guard against bad Tensor Shapes
5
5
  Home-page: https://github.com/Michedev/tensorguard
6
6
  Author: mikedev
@@ -29,7 +29,7 @@ class PytestCmd(cmd.Command):
29
29
 
30
30
  setup(
31
31
  name='tensorguard',
32
- version='1.0.2',
32
+ version='1.0.3',
33
33
  packages=['tensorguard'],
34
34
  url='https://github.com/Michedev/tensorguard',
35
35
  license='Apache-2.0',
@@ -18,7 +18,7 @@ from tensorguard import tools
18
18
  from tensorguard.exception import ShapeError
19
19
  from tensorguard.guard import TensorGuard
20
20
 
21
- __version__ = "1.0.2"
21
+ __version__ = "1.0.3"
22
22
 
23
23
  __author__ = "Michele De Vita"
24
24
  __author_email__ = "mik3dev@gmail.com"
@@ -172,7 +172,8 @@ def clear_dims():
172
172
  """
173
173
  Remove all the shape tokens
174
174
  """
175
- for k in __tg.dims:
175
+ keys = list(__tg.dims.keys())
176
+ for k in keys:
176
177
  del_dim(k)
177
178
 
178
179
  __all__ = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tensorguard
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: TensorGuard helps to guard against bad Tensor Shapes
5
5
  Home-page: https://github.com/Michedev/tensorguard
6
6
  Author: mikedev
File without changes
File without changes
File without changes
File without changes