broccoli-ml 10.0.0__tar.gz → 10.0.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.0.0
3
+ Version: 10.0.1
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -24,10 +24,10 @@ except ImportError:
24
24
  class LayerScale(nn.Module):
25
25
  def __init__(self, dim, init_values=1e-4):
26
26
  super().__init__()
27
- self.scale = nn.Parameter(init_values * torch.ones(dim))
27
+ self.nondecay_scale = nn.Parameter(init_values * torch.ones(dim))
28
28
 
29
29
  def forward(self, x):
30
- return x * self.gamma
30
+ return x * self.nondecay_scale
31
31
 
32
32
 
33
33
  def drop_path(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "10.0.0"
3
+ version = "10.0.1"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes