broccoli-ml 0.21.0__tar.gz → 0.22.0__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.3
2
2
  Name: broccoli-ml
3
- Version: 0.21.0
3
+ Version: 0.22.0
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -260,18 +260,14 @@ class FeedforwardBlock(nn.Module):
260
260
 
261
261
  self.process = nn.Sequential(
262
262
  *[
263
- (
264
- nn.LayerNorm(input_features)
265
- if not self.regularise_values
266
- else nn.Identity()
267
- ),
263
+ nn.LayerNorm(input_features),
268
264
  linear_module(input_features, self.max_features),
269
265
  self.activation,
270
- (
271
- nn.LayerNorm(input_features)
272
- if not self.regularise_values
273
- else nn.Identity()
274
- ),
266
+ # (
267
+ # nn.LayerNorm(input_features)
268
+ # if not regularise_values
269
+ # else nn.Identity()
270
+ # ),
275
271
  self.memory_type(ratio * output_features, output_features),
276
272
  self.dropout,
277
273
  ]
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "0.21.0"
3
+ version = "0.22.0"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes