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

Fix PushTransposeSolution for a node_transpose_no_pass case #140

Merged
merged 1 commit into from
Aug 1, 2020

Conversation

jiafatom
Copy link
Contributor

@jiafatom jiafatom commented Aug 1, 2020

The PR 139 has a bug which makes test_pix2pix fail in keras2onnx nightly build. The pix2pix model has a Concat node for node_transpose_no_pass, and this Concat node has one input which is model input, this is not an initializer. In this case, we should skip PushTranspose optimization. We can only do optimization when all other inputs of node_transpose_no_pass are initializers.

@jiafatom jiafatom merged commit b3e0631 into microsoft:master Aug 1, 2020
@jiafatom jiafatom deleted the not_init branch August 1, 2020 04:47
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.

2 participants