You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR updates the `Squeeze` and `Unsqueeze` operators to align with the ONNX Opset 13+ standard, where axes is now provided as an input instead of a node attribute. The change is backward compatible, as the old logic remains for single-input cases. A new test case, `CCT/CCT_2_32_32_128_Opset20`, has been added using models exported from PyTorch with ONNX Opset 20 to verify compatibility with recent versions.
## Added
- Added support for ONNX Opset 13 and higher.
## Changed
- UnsqueezeParser in Generic NodeParser
- Check for the presence of `axes` in node attributes and use the old workflow otherwise check for exactly 2 inputs (data and axes).
- Node context was changes accordingly; 1 single input follows the old workflow, 2 inputs uses the new 2 input Op. format.
## Fixed
- Breaking compilation with ONNX Opset 13 and higher when using `Squeeze` Op.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ This file contains the changelog for the Deeploy project. The changelog is divid
14
14
- Node Mangling to avoid duplication [#93](https://github.com/pulp-platform/Deeploy/pull/93)
15
15
- Prepare Post v0.2.0 Release [#104](https://github.com/pulp-platform/Deeploy/pull/104)
16
16
- Use Docker digests instead of arch-specific tags [#106](https://github.com/pulp-platform/Deeploy/pull/106)
17
+
- Fix `Unsqueeze` Op. when using ONNX opset 13 or higher (from attribute to input) [#119](https://github.com/pulp-platform/Deeploy/pull/119)
17
18
18
19
### Added
19
20
- Add manual type inference feature (CLI: `--input-type-map`/`--input-offset-map`) to resolve ambiguities when test inputs are not representative enough
@@ -81,6 +82,7 @@ This file contains the changelog for the Deeploy project. The changelog is divid
81
82
- Fixed multiple typos in variable and method names, such as changing `includeGobalReferences` to `includeGlobalReferences` and `dicardedMappers` to `discardedMappers`
82
83
- Corrected method usage in `importDeeployState` to call `NetworkContext.importNetworkContext` instead of the incorrect method name
83
84
- Correctly return `signProp` from `setupDeployer` instead of hardcoding the value to `False` in `testMVP.py`
85
+
- Fixed `Unsqueeze` Op. when using ONNX opset 13 or higher (from attribute to input)
84
86
85
87
### Removed
86
88
- Delete outdated and unused `.gitlab-ci.yml` file
0 commit comments