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

Add a condition when remove a transpose node in TransposeOptimizer. #2272

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

fatcat-z
Copy link
Collaborator

@fatcat-z fatcat-z commented Nov 27, 2023

When we tried to remove those Transpose nodes for an optimization, we need to consider some nodes should not be removed if their outputs have multiple consumers.

Fix #2235

Signed-off-by: Jay Zhang <jiz@microsoft.com>
@fatcat-z fatcat-z merged commit 07dfaa8 into onnx:main Nov 28, 2023
51 checks passed
@fatcat-z fatcat-z deleted the fix_transpose_opt_issue branch November 28, 2023 07:01
fatcat-z added a commit to fatcat-z/tensorflow-onnx that referenced this pull request Dec 20, 2023
Signed-off-by: Jay Zhang <jiz@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conversion does not complete
2 participants