-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Col2Im operator #3948
Add Col2Im operator #3948
Conversation
628d371
to
4e5a34d
Compare
@askhade Could you check whether I am going towards the right direction with this PR? |
DCO is not signed for this PR. If you only have a single commit then it is easy to fix it... Just follow the directions here: In future adding -s option to git commit adds sign off for that commit. example: |
Few more comments:
The script can be found here: https://github.com/onnx/onnx/blob/main/onnx/backend/test/cmd_tools.py#L90
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added comments
1498202
to
462b7fd
Compare
4d2ecb0
to
2b21eec
Compare
2b21eec
to
16fd709
Compare
fix DCO |
d7644bc
to
b0878cb
Compare
d818aad
to
4682bd2
Compare
@askhade Could you dismiss your review? All comments were addressed back in the day, but I have no permission to dismiss nor request another review. Feel free to give it another go on the review too |
gentle ping |
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
Signed-off-by: Thiago Crepaldi <[email protected]>
78337c3
to
d8a3916
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
**Description** This PR implements N-dimensional Col2Im as a contrib CPU Op as specified by ONNX's onnx/onnx#3948 **Motivation and Context** - Col2Im enables models such as: - [SS-DCNet](https://github.com/xhp-hust-2018-2011/SS-DCNet) - [DSTT](https://github.com/ruiliu-ai/DSTT) - It also serves to document the ORT's obscure `math::Col2ImNd` utility Signed-off-by: Liqun Fu <[email protected]> Co-authored-by: Liqun Fu <[email protected]>
**Description** This PR implements N-dimensional Col2Im as a contrib CPU Op as specified by ONNX's onnx/onnx#3948 **Motivation and Context** - Col2Im enables models such as: - [SS-DCNet](https://github.com/xhp-hust-2018-2011/SS-DCNet) - [DSTT](https://github.com/ruiliu-ai/DSTT) - It also serves to document the ORT's obscure `math::Col2ImNd` utility Signed-off-by: Liqun Fu <[email protected]> Co-authored-by: Liqun Fu <[email protected]>
* Add Col2Im op to ONNX spec Signed-off-by: Thiago Crepaldi <[email protected]> * Fix spec Signed-off-by: Thiago Crepaldi <[email protected]> * Address comments Signed-off-by: Thiago Crepaldi <[email protected]> * Address comments Signed-off-by: Thiago Crepaldi <[email protected]> * Add support to N-dimnesional input Signed-off-by: Thiago Crepaldi <[email protected]> * Update to opset 17 Signed-off-by: Thiago Crepaldi <[email protected]> * Add Col2Im unit test for 5 dim image Signed-off-by: Thiago Crepaldi <[email protected]> * Fix style Signed-off-by: Thiago Crepaldi <[email protected]> * Address comments Signed-off-by: Thiago Crepaldi <[email protected]> * Address comments Signed-off-by: Thiago Crepaldi <[email protected]> Signed-off-by: Thiago Crepaldi <[email protected]>
Description
Introduces an operator Col2Im() that rearranges input tensor in blocks. Same behavior as https://pytorch.org/cppdocs/api/function_namespaceat_1a979fbf85d8c7362d60d766bbf1639f10.html
Fixes #4106
Motivation and Context
microsoft/onnxruntime#12311 ORT implemented the spec proposed here for Col2Im with n-dimensional support as a contrib op.