codelor-color 2.2.1__tar.gz → 2.2.2__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.
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [2.2.2] - 2026-10-21
6
+
7
+ Patch release fixing the remaining mypy error from CI.
8
+
9
+ ### Fixed
10
+
11
+ - `SobelEdge` declares its `sx`/`sy` buffers with class annotations so mypy
12
+ types them as `Tensor` (previously `Tensor | Module`, which broke
13
+ `F.conv2d`). No behaviour change: buffers and `state_dict` keys are identical.
14
+
5
15
  ## [2.2.1] - 2026-10-21
6
16
 
7
17
  Patch release: the 2.2.0 files already on PyPI cannot be replaced (PyPI
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codelor-color
3
- Version: 2.2.1
3
+ Version: 2.2.2
4
4
  Summary: A lightweight PyTorch Transformer architecture for Chroma Key (Green Screen).
5
5
  Author-email: PlimbAi <plimb.ai.contact@gmail.com>
6
6
  License-Expression: MIT
@@ -0,0 +1 @@
1
+ __version__ = "2.2.2"
@@ -256,6 +256,9 @@ class ConvNeXtStem(nn.Module):
256
256
  class SobelEdge(nn.Module):
257
257
  """Fixed Sobel X/Y filters returning the gradient magnitude of a gray image."""
258
258
 
259
+ sx: Tensor
260
+ sy: Tensor
261
+
259
262
  def __init__(self) -> None:
260
263
  super().__init__()
261
264
  sx = torch.tensor([[-1, 0, 1], [-2, 0, 2], [-1, 0, 1]]).float().view(1, 1, 3, 3)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codelor-color
3
- Version: 2.2.1
3
+ Version: 2.2.2
4
4
  Summary: A lightweight PyTorch Transformer architecture for Chroma Key (Green Screen).
5
5
  Author-email: PlimbAi <plimb.ai.contact@gmail.com>
6
6
  License-Expression: MIT
@@ -1 +0,0 @@
1
- __version__ = "2.2.1"
File without changes
File without changes
File without changes
File without changes