broccoli-ml 13.0.4__tar.gz → 13.0.5__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: 13.0.4
3
+ Version: 13.0.5
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -433,9 +433,11 @@ class ViTEncoder(nn.Module):
433
433
  return self.transformer.attention_logits(x)
434
434
 
435
435
  def reset_parameters(self):
436
- for module in self.encoder:
436
+ for module in self.preprocess:
437
437
  if hasattr(module, "reset_parameters"):
438
438
  module.reset_parameters()
439
+ self.initial_ff.reset_parameters()
440
+ self.transformer.reset_parameters()
439
441
 
440
442
 
441
443
  class ViT(nn.Module):
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "13.0.4"
3
+ version = "13.0.5"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes