blksprs 1.9.2__tar.gz → 1.9.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 (30) hide show
  1. {blksprs-1.9.2 → blksprs-1.9.3}/PKG-INFO +1 -1
  2. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/utils/blksprs_tensor.py +3 -1
  3. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs.egg-info/PKG-INFO +1 -1
  4. {blksprs-1.9.2 → blksprs-1.9.3}/pyproject.toml +1 -1
  5. {blksprs-1.9.2 → blksprs-1.9.3}/README.md +0 -0
  6. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/__init__.py +0 -0
  7. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/layouting/distribution_layout.py +0 -0
  8. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/layouting/sparsity_layout.py +0 -0
  9. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/conversion.py +0 -0
  10. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/distribution.py +0 -0
  11. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/experimental/distribution_mdi.py +0 -0
  12. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/flow.py +0 -0
  13. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/matmul.py +0 -0
  14. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/misc/broadcast_ops.py +0 -0
  15. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/misc/exp.py +0 -0
  16. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/misc/row_wise.py +0 -0
  17. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/partitioning.py +0 -0
  18. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/repeat.py +0 -0
  19. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/softmax.py +0 -0
  20. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/ops/transpose.py +0 -0
  21. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/utils/benchmarking.py +0 -0
  22. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/utils/layout_utils.py +0 -0
  23. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/utils/processing.py +0 -0
  24. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/utils/tools.py +0 -0
  25. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs/utils/validation.py +0 -0
  26. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs.egg-info/SOURCES.txt +0 -0
  27. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs.egg-info/dependency_links.txt +0 -0
  28. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs.egg-info/requires.txt +0 -0
  29. {blksprs-1.9.2 → blksprs-1.9.3}/blksprs.egg-info/top_level.txt +0 -0
  30. {blksprs-1.9.2 → blksprs-1.9.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: blksprs
3
- Version: 1.9.2
3
+ Version: 1.9.3
4
4
  Summary: A lightweight library for operations on blocksparse matrices in PyTorch.
5
5
  Author-email: Felix Schön <schoen@kr.tuwien.ac.at>
6
6
  Project-URL: Homepage, https://github.com/FelixSchoen/blksprs
@@ -1,3 +1,4 @@
1
+ import torch
1
2
  from torch import Tensor
2
3
 
3
4
 
@@ -5,4 +6,5 @@ class BlksprsTensor(Tensor):
5
6
  """A wrapper class representing a block-sparse tensor in compressed form.
6
7
  """
7
8
 
8
- pass
9
+ def __repr__(self):
10
+ return f"BlksprsTensor({torch.Tensor(self).__repr__()})"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: blksprs
3
- Version: 1.9.2
3
+ Version: 1.9.3
4
4
  Summary: A lightweight library for operations on blocksparse matrices in PyTorch.
5
5
  Author-email: Felix Schön <schoen@kr.tuwien.ac.at>
6
6
  Project-URL: Homepage, https://github.com/FelixSchoen/blksprs
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "blksprs"
3
- version = "1.9.2"
3
+ version = "1.9.3"
4
4
  authors = [{ name = "Felix Schön", email = "schoen@kr.tuwien.ac.at" }]
5
5
  description = "A lightweight library for operations on blocksparse matrices in PyTorch."
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes