Skip to content
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

[ONNX] Update symbolic for unfold #49378

Merged
merged 21 commits into from
Jan 5, 2021
Merged

[ONNX] Update symbolic for unfold #49378

merged 21 commits into from
Jan 5, 2021

Conversation

KsenijaS
Copy link
Contributor

@KsenijaS KsenijaS commented Dec 15, 2020

Add support for dynamic inputs size and step of unfold operator in Opset 12.
Currently this operator only support constant inputs for opsets 9 and above.
fixes: #47182

@spandantiwari
Copy link

@KsenijaS - is this change is just for Opset 12 then the PR title should reflect it. Also, the description does not full explain the current problem (or mention anything about current support in Opset 9). You should flesh out the PR description more.

torch/csrc/jit/python/python_ir.cpp Outdated Show resolved Hide resolved
torch/csrc/jit/passes/onnx/helper.cpp Outdated Show resolved Hide resolved
torch/csrc/jit/python/python_ir.cpp Outdated Show resolved Hide resolved
torch/onnx/symbolic_opset12.py Outdated Show resolved Hide resolved
torch/onnx/symbolic_opset12.py Show resolved Hide resolved
@KsenijaS
Copy link
Contributor Author

KsenijaS commented Jan 4, 2021

clang-tidy errors are not related to my changes.

@BowenBao BowenBao merged commit eef5191 into pytorch:onnx_ms_1 Jan 5, 2021
spandantiwari pushed a commit to spandantiwari/pytorch that referenced this pull request Jan 8, 2021
* update symbolic for unfold

* update symbolic_opse12 file

* update symbolic_opse12 file

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* instead of a pass use a helper function

* update ort version

* Revert "instead of a pass use a helper function"

This reverts commit 723b446.

* update symbolics

* update symbolic

* update symbolics

* [ONNX] Support onnx if/loop sequence output in opset 13 - (pytorch#49270)

* Symbolic function for torch.square (pytorch#49446)

* empty commit

* fix clang-tidy

* fix clang-tidy

Co-authored-by: Bowen Bao <bowbao@microsoft.com>
Co-authored-by: David Fan <30608893+jiafatom@users.noreply.github.com>
facebook-github-bot pushed a commit that referenced this pull request Jan 13, 2021
Summary:
[ONNX] ONNX dev branch merge 01-06-2021
- [ONNX] Support onnx if/loop sequence output in opset 13 - (#49270)
- Symbolic function for torch.square (#49446)
- [ONNX] Add checks in ONNXSetDynamicInputShape (#49783) …
- [ONNX] Enable export af aten::__derive_index (#49514) …
- [ONNX] Update symbolic for unfold (#49378) …
- [ONNX] Update the sequence of initializers in exported graph so that it is as same as inputs. (#49798)
- [ONNX] Enable opset 13 ops (#49612) …
- [ONNX] Improve error message for supported model input types in ONNX export API. (#50119)
- [ONNX] Add a post-pass for If folding (#49410)

Pull Request resolved: #50163

Reviewed By: pbelevich

Differential Revision: D25821059

Pulled By: SplitInfinity

fbshipit-source-id: 9f511a93d9d5812d0ab0a49d61ed0fa5f8066948
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants