matnets 3.2.0__tar.gz → 3.2.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matnets
3
- Version: 3.2.0
3
+ Version: 3.2.1
4
4
  Summary: A small experimental neural network library where neurons are represented as matrices.
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [project]
6
6
  name = "matnets"
7
- version = "3.2.0"
7
+ version = "3.2.1"
8
8
  description = "A small experimental neural network library where neurons are represented as matrices."
9
9
  readme = "docs/index.md"
10
10
  requires-python = ">=3.11"
@@ -124,4 +124,4 @@ def embed_sequence(
124
124
  idx = np.abs(np.arange(n)[:, None] - np.arange(n)[None, :])
125
125
 
126
126
  # Take elements to form the n x n matrix representation
127
- return np.take(windows, idx, axis=-1)
127
+ return cast(npt.NDArray[Any], np.take(windows, idx, axis=-1))
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes