Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[v1.4.x] - Add resiliency to onnx export code (#13426) #13567

Merged
merged 1 commit into from
Dec 7, 2018

Conversation

safrooze
Copy link
Contributor

@safrooze safrooze commented Dec 6, 2018

Description

Cherrypick #13426 to 1.4.x branch

* Added resiliency to onnx export code

- With previous infer-shape implementation, if input shape was list instead of tuple or if extra non-existent parameters were provided, the code would still work. The fixes in this commit make sure that behavior is restored to prevent any compatibility issues with existing export code.

* Fixed name of net in unittest

* Fix pylint
@safrooze safrooze requested a review from szha as a code owner December 6, 2018 23:20
@nswamy nswamy merged commit 2d08816 into apache:v1.4.x Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants