broccoli-ml 10.1.0__tar.gz → 10.1.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.3
2
2
  Name: broccoli-ml
3
- Version: 10.1.0
3
+ Version: 10.1.1
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -809,8 +809,9 @@ class TransformerEncoder(nn.Module):
809
809
  )
810
810
  if self.layerscale is not None:
811
811
  position_embedding = self.layerscale(position_embedding)
812
+ x += position_embedding
812
813
 
813
- return x + position_embedding
814
+ return x
814
815
 
815
816
  def forward(self, x):
816
817
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "10.1.0"
3
+ version = "10.1.1"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes