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 test case container type #3681

Closed
wants to merge 3 commits into from

Conversation

take-cheeze
Copy link
Member

@take-cheeze take-cheeze commented Aug 26, 2021

Description
Adds InOutContainerProto to store test case in/out data so that we don't need to look inside model's input/output type.

Motivation and Context
When optional type was added in #3567 , loading test case data got more difficult because the structure of SequenceProto and OptionalProto are very similar and undeterminable when we read the message.
I would like to add InOutContainerProto message type to store in/out data of onnx test cases to make loading of it easier.
In addition I've add reserved_for_container to check difference with current in/out message type.

I haven't run python onnx/backend/test/cmd_tools.py generate-data since there could be more improvements to names

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.

1 participant