-
Notifications
You must be signed in to change notification settings - Fork 3.8k
proto to support attributes with default values #4911
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f36d9a2
proto to support attributes with default values
liqunfu ee56920
update test data
liqunfu ea5a022
lint
liqunfu d7e4b03
.
liqunfu 467238a
.
liqunfu 93270be
Merge branch 'main' into liqun/attr-with-default
liqunfu 811dfcf
fix dup attributes
liqunfu f88cf2a
update IR.md
liqunfu 64dfcdb
make_model to support attribute_proto, more tests
liqunfu 397a631
fix a typo
liqunfu ac9443d
Merge branch 'main' into liqun/attr-with-default
liqunfu 1ab3d4e
Merge branch 'main' into liqun/attr-with-default
liqunfu 5ede4ca
update with reviewers' comments
liqunfu afddf40
Merge branch 'main' into liqun/attr-with-default
gramalingam 2dd0485
fix make_function
liqunfu 620ef04
Merge branch 'liqun/attr-with-default' of https://github.com/onnx/onn…
liqunfu 002dca8
op19 models
liqunfu a3e7be5
op19 models
liqunfu 636e4e3
op19 models
liqunfu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_1d_default/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_ceil/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_default/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_dilations/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_pads/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_pads_count_include_pad/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_precomputed_pads/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../backend/test/data/node/test_averagepool_2d_precomputed_pads_count_include_pad/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_precomputed_same_upper/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_precomputed_strides/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_same_lower/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_same_upper/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_2d_strides/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_averagepool_3d_default/model.onnx
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_constant_pad_axes/model.onnx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_equal_string_broadcast/model.onnx
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_scales_cubic/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...kend/test/data/node/test_resize_downsample_scales_cubic_A_n0p5_exclude_outside/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_scales_cubic_align_corners/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_scales_cubic_antialias/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_scales_linear/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_scales_linear_align_corners/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_scales_linear_antialias/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ckend/test/data/node/test_resize_downsample_scales_linear_half_pixel_symmetric/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_scales_nearest/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_sizes_cubic/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_sizes_cubic_antialias/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_sizes_linear_antialias/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../backend/test/data/node/test_resize_downsample_sizes_linear_pytorch_half_pixel/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_sizes_nearest/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_sizes_nearest_not_larger/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_downsample_sizes_nearest_not_smaller/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_tf_crop_and_resize/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_tf_crop_and_resize_axes_2_3/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_tf_crop_and_resize_axes_3_2/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_cubic/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ackend/test/data/node/test_resize_upsample_scales_cubic_A_n0p5_exclude_outside/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_cubic_align_corners/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_cubic_asymmetric/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_linear/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_linear_align_corners/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...backend/test/data/node/test_resize_upsample_scales_linear_half_pixel_symmetric/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_nearest/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_nearest_axes_2_3/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_scales_nearest_axes_3_2/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_sizes_cubic/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_sizes_nearest/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_sizes_nearest_axes_2_3/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_sizes_nearest_axes_3_2/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_sizes_nearest_ceil_half_pixel/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../backend/test/data/node/test_resize_upsample_sizes_nearest_floor_align_corners/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
onnx/backend/test/data/node/test_resize_upsample_sizes_nearest_not_larger/model.onnx
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...test/data/node/test_resize_upsample_sizes_nearest_round_prefer_ceil_asymmetric/model.onnx
Binary file not shown.
Binary file not shown.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.