titans-pytorch 0.0.24__tar.gz → 0.0.25__tar.gz

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of titans-pytorch might be problematic. Click here for more details.

@@ -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