This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vandanavk
force-pushed
the
onnx_test
branch
3 times, most recently
from
December 10, 2018 18:51
bc4f69b
to
064a387
Compare
@mxnet-label-bot update [ONNX, pr-awaiting-review] @Roshrini @anirudhacharya @zhreshold for review |
marcoabreu
added
pr-awaiting-review
PR is waiting for code review
and removed
pr-work-in-progress
PR is still work in progress
labels
Dec 10, 2018
vandanavk
force-pushed
the
onnx_test
branch
2 times, most recently
from
December 11, 2018 23:44
61195fc
to
4ad854d
Compare
Adding @safrooze to review onnx/mxnet_export_test.py (Ref: #13390). Adding @nswamy to review onnx/test_models.py and onnx/test_node.py (Ref: #12852 (comment)) |
vandanavk
force-pushed
the
onnx_test
branch
4 times, most recently
from
December 18, 2018 17:52
bfa2c09
to
8aa9cab
Compare
zhreshold
approved these changes
Dec 19, 2018
Roshrini
approved these changes
Dec 26, 2018
sandeep-krishnamurthy
approved these changes
Dec 26, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Excellent PR description!!
@nswamy @anirudhacharya @safrooze - Going ahead with merging this PR as it contains nice clean up in test cases and with approvals from other community members. |
5 tasks
rondogency
pushed a commit
to rondogency/incubator-mxnet
that referenced
this pull request
Jan 9, 2019
* ONNX test code cleanup * Make tests use the common test case list * Remove import test_cases * Make Gluon backend rep common * Partially enable broadcast tests * Common function to populate tests * Make backend common * test models * Test nodes * ONNX export: Test for fully connected * Edit CI scripts mxnet export test cleanup * Further cleanup backend tests * README * Some corrections * test case format for test_models
haohuanw
pushed a commit
to haohuanw/incubator-mxnet
that referenced
this pull request
Jun 23, 2019
* ONNX test code cleanup * Make tests use the common test case list * Remove import test_cases * Make Gluon backend rep common * Partially enable broadcast tests * Common function to populate tests * Make backend common * test models * Test nodes * ONNX export: Test for fully connected * Edit CI scripts mxnet export test cleanup * Further cleanup backend tests * README * Some corrections * test case format for test_models
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR refactors ONNX import/export test code
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Current directory structure:
Redundant code:
Changes that are part of cleanup:
Create onnx/mxnet_backend_test.py and onnx/gluon_backend_test.py for import/export with MXNet/Gluon backend respectively. These can't be combined further because the ONNX tests are added in globals() dictionary with test name as key. Combining these 2 will override the test list in globals().
Reference this newly created test_cases.py in mxnet_backend_test.py, onnx_backend_test.py, gluon_backend_test.py. Create a common onnx/backend_test.py for preparing the test list.
Example call:
Option 1:
Option 2:
To add tests for models, add a line in test_cases[]
Example:
To add tests for operators,
Directory structure after cleanup:
Future work:
Comments