broccoli-ml 0.13.2__tar.gz → 0.13.4__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.13.2
3
+ Version: 0.13.4
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -304,6 +304,8 @@ class ViTEncoder(nn.Module):
304
304
  dropout=transformer_mlp_dropout,
305
305
  linear_module=linear_module,
306
306
  )
307
+ elif pooling_out_channels == transformer_embedding_size:
308
+ self.pooling_channels_padding = nn.Identity()
307
309
  elif pooling_out_channels < transformer_embedding_size:
308
310
  self.intermediate_feedforward_layer = nn.Identity()
309
311
  self.pooling_channels_padding = PadTensor(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "0.13.2"
3
+ version = "0.13.4"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes