titans-pytorch 0.0.24__tar.gz → 0.0.25__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: titans-pytorch
3
- Version: 0.0.24
3
+ Version: 0.0.25
4
4
  Summary: Titans
5
5
  Project-URL: Homepage, https://pypi.org/project/titans-pytorch/
6
6
  Project-URL: Repository, https://github.com/lucidrains/titans-pytorch
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "titans-pytorch"
3
- version = "0.0.24"
3
+ version = "0.0.25"
4
4
  description = "Titans"
5
5
  authors = [
6
6
  { name = "Phil Wang", email = "lucidrains@gmail.com" }
File without changes
@@ -136,6 +136,7 @@ class NeuralMemory(Module):
136
136
  )
137
137
  ):
138
138
  super().__init__()
139
+ dim_head = default(dim_head, dim)
139
140
 
140
141
  # norms
141
142
 
@@ -146,7 +147,6 @@ class NeuralMemory(Module):
146
147
 
147
148
  # maybe multi-headed
148
149
 
149
- dim_head = default(dim_head, dim)
150
150
  dim_inner = dim_head * heads
151
151
 
152
152
  self.heads = heads