tico 0.1.0.dev250702__py3-none-any.whl → 0.1.0.dev250703__py3-none-any.whl

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.
tico/__init__.py CHANGED
@@ -21,7 +21,7 @@ from tico.config import CompileConfigV1, get_default_config
21
21
  from tico.utils.convert import convert, convert_from_exported_program, convert_from_pt2
22
22
 
23
23
  # THIS LINE IS AUTOMATICALLY GENERATED BY setup.py
24
- __version__ = "0.1.0.dev250702"
24
+ __version__ = "0.1.0.dev250703"
25
25
 
26
26
  MINIMUM_SUPPORTED_VERSION = "2.5.0"
27
27
  SECURE_TORCH_VERSION = "2.6.0"
tico/utils/padding.py CHANGED
@@ -51,6 +51,11 @@ def identify_padding(
51
51
  1. "valid" or [0, 0] → VALID, no Pad().
52
52
  2. "same" or the shapes already match (stride==1) → SAME, no Pad().
53
53
  3. Any other 2-element list → VALID + explicit Pad().
54
+
55
+ TODO The following SAME padding check assumes stride == 1.
56
+ For stride > 1, Conv2D and TransposeConv2D require different formulas
57
+ to determine the SAME padding. Update this logic to handle general
58
+ stride values correctly for both cases.
54
59
  """
55
60
  # ─── 1. String form ────────────────────────────────────────────────────
56
61
  if isinstance(padding, str):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tico
3
- Version: 0.1.0.dev250702
3
+ Version: 0.1.0.dev250703
4
4
  Summary: Convert exported Torch module to circle
5
5
  Home-page: UNKNOWN
6
6
  License: UNKNOWN
@@ -1,4 +1,4 @@
1
- tico/__init__.py,sha256=OwKeuduBe-XLK_9XzKLwmCWJd6kRwEZ2xiY8RnRGnCA,1743
1
+ tico/__init__.py,sha256=P6Y7D-gIsRLMIUA9w5OkdqONBxv5lRR70wvkWFHh1wY,1743
2
2
  tico/pt2_to_circle.py,sha256=gu3MD4Iqc0zMZcCZ2IT8oGbyj21CTSbT3Rgd9s2B_9A,2767
3
3
  tico/config/__init__.py,sha256=xZzCXjZ84qE-CsBi-dfaL05bqpQ3stKKfTXhnrJRyVs,142
4
4
  tico/config/base.py,sha256=anwOiJFkUxUi7Cef573JgQcjk6S-FSi6O_TLjYASW-g,1244
@@ -189,7 +189,7 @@ tico/utils/graph.py,sha256=Y6aODsnc_-9l61oanknb7K1jqJ8B35iPypOKkM0Qkk0,9149
189
189
  tico/utils/installed_packages.py,sha256=J0FTwnkCGs0MxRWoCMYAqiwH7Z0GWFDLV--x-IndSp4,1017
190
190
  tico/utils/logging.py,sha256=IlbBWscsaHidI0dNqro1HEXAbIcbkR3BD5ukLy2m95k,1286
191
191
  tico/utils/model.py,sha256=Uqc92AnJXQ2pbvctS2z2F3Ku3yNrwXZ9O33hZVis7is,1250
192
- tico/utils/padding.py,sha256=qk6eh295msjDl3yFRg2OAjF-p6q0B8U2u_rnB2odT2A,3024
192
+ tico/utils/padding.py,sha256=jyNhGmlLZfruWZ6n5hll8RZOFg85iCZP8OJqnHGS97g,3293
193
193
  tico/utils/passes.py,sha256=kGmDe__5cPaO6i5EDAoXSVe6yXEoX9hAny4ROb3ZEmQ,2409
194
194
  tico/utils/register_custom_op.py,sha256=3-Yl6iYmx1qQA2igNHt4hYhQhQMkdPb7gF50LIY8yvc,27350
195
195
  tico/utils/serialize.py,sha256=AQXMBOLu-Kg2Rn-qbqsAtHndjZAZIavlKA0QFgJREHM,1420
@@ -200,9 +200,9 @@ tico/utils/mx/__init__.py,sha256=IO6FP_xYbGy0dW0HL26GXD3ouxARaxCK7bz9dn4blPQ,26
200
200
  tico/utils/mx/elemwise_ops.py,sha256=V6glyAHsVR1joqpsgnNytatCD_ew92xNWZ19UFDoMTA,10281
201
201
  tico/utils/mx/formats.py,sha256=uzNWyu-1onUlwQfX5cZ6fZSUfHMRqorper7_T1k3jfk,3404
202
202
  tico/utils/mx/mx_ops.py,sha256=RcfUTYVi-wilGB2sC35OeARdwDqnixv7dG5iyZ-fQT8,8555
203
- tico-0.1.0.dev250702.dist-info/LICENSE,sha256=kp4JLII7bzRhPb0CPD5XTDZMh22BQ7h3k3B7t8TiSbw,12644
204
- tico-0.1.0.dev250702.dist-info/METADATA,sha256=y6E2HN1pWGO-n-xqv9GGXkNHhNbvY7d9iIA-lWVlaZE,8846
205
- tico-0.1.0.dev250702.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
206
- tico-0.1.0.dev250702.dist-info/entry_points.txt,sha256=kBKYSS_IYrSXmUYevmmepqIVPScq5vF8ulQRu3I_Zf0,59
207
- tico-0.1.0.dev250702.dist-info/top_level.txt,sha256=oqs7UPoNSKZEwqsX8B-KAWdQwfAa7i60pbxW_Jk7P3w,5
208
- tico-0.1.0.dev250702.dist-info/RECORD,,
203
+ tico-0.1.0.dev250703.dist-info/LICENSE,sha256=kp4JLII7bzRhPb0CPD5XTDZMh22BQ7h3k3B7t8TiSbw,12644
204
+ tico-0.1.0.dev250703.dist-info/METADATA,sha256=b1B8214FjIYVG6Z4kL5NDM0EN-jksdYbAtiViQ-hGtU,8846
205
+ tico-0.1.0.dev250703.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
206
+ tico-0.1.0.dev250703.dist-info/entry_points.txt,sha256=kBKYSS_IYrSXmUYevmmepqIVPScq5vF8ulQRu3I_Zf0,59
207
+ tico-0.1.0.dev250703.dist-info/top_level.txt,sha256=oqs7UPoNSKZEwqsX8B-KAWdQwfAa7i60pbxW_Jk7P3w,5
208
+ tico-0.1.0.dev250703.dist-info/RECORD,,