-
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
Conversation
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
|
Excited for this |
|
make_function should be updated as well. |
|
I think it would be useful to update |
|
Are the test-data checked in because these models use the updated IR version? Not sure we want to do that, right? |
|
It seems to me that we may need to update the checker/inference code to use these new fields for model-local functions? |
Signed-off-by: Liqun Fu <[email protected]>
The test cases are updated because IR version bump. I would wait for #4805 in order to reduce merge conflicts. However, if this PR need to be merged first, I will work on this test cases. |
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
|
I'm curious how default values will be set for attributes that reply on input shapes. For example in |
@yuanyao-nv That's a good question. The purpose of this extension is to allow users to define their own functions, which are stored in a model. We cannot encode all possible usage scenarios using this feature. But it works as long as we can find a default-value that is not a legitimate attribute-value, since we can encode the desired behavior by checking if the attribute-value equals special-value. Please take a look at this PR that was proposed as one general mechanism. Unfortunately, it has some complications, because of the way the ONNX checker works. It is hard to write an if-then-else in ONNX where one of the branches (that will not execute) violates some ONNX check/constraint. So, this PR was reverted. If you have any alternative suggestions, that would be great and welcome. Thanks! |
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
…into liqun/attr-with-default
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
Signed-off-by: Liqun Fu <[email protected]>
* Remove operators under development from the documentation (#4753) * Remove operators under development from the documentation Signed-off-by: xadupre <[email protected]> * type Signed-off-by: xadupre <[email protected]> * infer other opset to document Signed-off-by: xadupre <[email protected]> * automate last opset in documentation Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Remove unused imports from code examples (#4767) Signed-off-by: Armen Gabrielyan <[email protected]> Signed-off-by: Armen Gabrielyan <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Add missing f-string for DeprecatedWarningDict in mapping.py (#4707) * Add missing f-string for DeprecatedWarningDict in mapping.py Signed-off-by: jcwchen <[email protected]> * future release instead of next Signed-off-by: Chun-Wei Chen <[email protected]> * remove unnecessary + Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: jcwchen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> * Fix reference implementation for ArgMin, ArgMax, Reduce* (#4710) * Fix reference implementation for ArgMin Signed-off-by: xadupre <[email protected]> * fix unit test Signed-off-by: xadupre <[email protected]> * fix one unit test in the backend Signed-off-by: xadupre <[email protected]> * fix method name Signed-off-by: xadupre <[email protected]> * fix minor bugs Signed-off-by: xadupre <[email protected]> * fix where Signed-off-by: xadupre <[email protected]> * improve error message Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix type issue Signed-off-by: xadupre <[email protected]> * fix recursive new ops Signed-off-by: xadupre <[email protected]> * add a unit test for check that new_ops is propagated through subgraphs Signed-off-by: xadupre <[email protected]> * remove one print used to debug Signed-off-by: xadupre <[email protected]> * fixes attributes in nested subgraph Signed-off-by: xadupre <[email protected]> * fix sequence map Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix conversion of default value into arrays Signed-off-by: xadupre <[email protected]> * improve code for reference Constant Signed-off-by: xadupre <[email protected]> * remove unused code Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * mypy Signed-off-by: xadupre <[email protected]> * fix lint Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * fix col2im test data (#4769) Signed-off-by: Liqun Fu <[email protected]> Signed-off-by: Liqun Fu <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Add reference implementation for domain ai.onnx.ml (#4714) * first operator ml Signed-off-by: xadupre <[email protected]> * rename file Signed-off-by: xadupre <[email protected]> * add missing import Signed-off-by: xadupre <[email protected]> * skip test if ONNX_ML is false Signed-off-by: xadupre <[email protected]> * add binarizer Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * add normalizer ... Signed-off-by: xadupre <[email protected]> * add label encoder Signed-off-by: xadupre <[email protected]> * add dict vectorizer Signed-off-by: xadupre <[email protected]> * add one hot encoder Signed-off-by: xadupre <[email protected]> * add linear models Signed-off-by: xadupre <[email protected]> * add tree ensemble regressor Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix missing values Signed-off-by: xadupre <[email protected]> * add svm regressor Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * add TreeEnsembleClassifier Signed-off-by: xadupre <[email protected]> * svm classifier Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * isort Signed-off-by: xadupre <[email protected]> * fix precision for one test on MacOS Signed-off-by: xadupre <[email protected]> * Finalize implementation of SVC Signed-off-by: xadupre <[email protected]> * add test for SVMClassifier + linear Signed-off-by: xadupre <[email protected]> * fix one class implementation Signed-off-by: xadupre <[email protected]> * remove unused nan Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * make pages.yml only automatically trigger (#4765) Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Fix types deprecated in `numpy==1.24` (#4721) * Update deprecated nptypes Signed-off-by: p-wysocki <[email protected]> * Update bernoulli test files Signed-off-by: p-wysocki <[email protected]> * Fix Bernoulli tests Signed-off-by: p-wysocki <[email protected]> * Apply CR comments Signed-off-by: p-wysocki <[email protected]> * Fix test files Signed-off-by: p-wysocki <[email protected]> * Fix tests Signed-off-by: p-wysocki <[email protected]> Signed-off-by: p-wysocki <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Swap colors on documentation (#4773) Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Download test data (#4741) * 4390: Enable ONNX Hub to download test_data_set from ONNX Model Zoo Signed-off-by: Aadith Warrier <[email protected]> * 4390: Enable ONNX Hub to download test_data_set from ONNX Model Zoo Signed-off-by: Aadith Warrier <[email protected]> * Fixed typo and changed function name to download_model_with_test_data Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with_test_data Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with_test_data, resolved style issues Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with_test_data,resolved style issues Signed-off-by: Aadith Warrier <[email protected]> * Changed string formatting to f-string Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with test_data. Signed-off-by: Aadith Warrier <[email protected]> * Update onnx/test/hub_test.py Signed-off-by: Aadith Warrier <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Updated hub.py Signed-off-by: Aadith Warrier <[email protected]> * Update hub.py Signed-off-by: Aadith Warrier <[email protected]> Signed-off-by: Aadith Warrier <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Make reference implementation of conv.py 30% faster (#4737) * Make reference implementation of conv.py 30% faster Signed-off-by: xadupre <[email protected]> * fix variable name Signed-off-by: xadupre <[email protected]> * change precision for two backend tests Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Fix missing page for ai.onnx.ml domain (#4776) * Fix missing page for ai.onnx.ml domain Signed-off-by: xadupre <[email protected]> * remove unused code Signed-off-by: xadupre <[email protected]> * simplify code Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Use developing version number in the main branch (#4772) * use developing version number in the main branch Signed-off-by: Chun-Wei Chen <[email protected]> * future onnx Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Rename attribute's subgraph in onnx.compose.add_prefix_graph (#4718) * add recursively rename attribute's subgraph Signed-off-by: jcwchen <[email protected]> * add None map Signed-off-by: jcwchen <[email protected]> * black Signed-off-by: jcwchen <[email protected]> * add a test Signed-off-by: jcwchen <[email protected]> * remove rename_attribute_graph Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: jcwchen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Add missing class Split_18 in reference implementation (#4743) * Add missing class Split_18 in reference implementation Signed-off-by: xadupre <[email protected]> * remove unused variable Signed-off-by: xadupre <[email protected]> * add one more test Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * remove deprecated lgtm.yml (#4794) Signed-off-by: Andreas Fehlner <[email protected]> Signed-off-by: Andreas Fehlner <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Change assert statements to raise statements (#4760) * Change assert statements to raise statements Signed-off-by: Mike Essenmacher <[email protected]> * Add a section on ReferenceEvaluator in the tutorial (#4752) * Add ReferenceEvaluator to the tutorial Signed-off-by: xadupre <[email protected]> * fix compilation issues Signed-off-by: xadupre <[email protected]> * changes after first review Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Add attribute type in documentation (#4748) * add attribute type Signed-off-by: xadupre <[email protected]> * remove duplicated key Signed-off-by: xadupre <[email protected]> * fix value Signed-off-by: xadupre <[email protected]> * add quote around default string Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Improve documentation rendering (#4747) * update documentation Signed-off-by: xadupre <[email protected]> * update md Signed-off-by: xadupre <[email protected]> * revert TestCoverage.md Signed-off-by: xadupre <[email protected]> * revert Signed-off-by: xadupre <[email protected]> * add eol Signed-off-by: xadupre <[email protected]> * improve from Pad to Xor Signed-off-by: xadupre <[email protected]> * remove extra backtick Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Fix grammar in concepts.rst (#4758) Signed-off-by: Armen Gabrielyan <[email protected]> Signed-off-by: Armen Gabrielyan <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Remove operators under development from the documentation (#4753) * Remove operators under development from the documentation Signed-off-by: xadupre <[email protected]> * type Signed-off-by: xadupre <[email protected]> * infer other opset to document Signed-off-by: xadupre <[email protected]> * automate last opset in documentation Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Remove unused imports from code examples (#4767) Signed-off-by: Armen Gabrielyan <[email protected]> Signed-off-by: Armen Gabrielyan <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Add missing f-string for DeprecatedWarningDict in mapping.py (#4707) * Add missing f-string for DeprecatedWarningDict in mapping.py Signed-off-by: jcwchen <[email protected]> * future release instead of next Signed-off-by: Chun-Wei Chen <[email protected]> * remove unnecessary + Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: jcwchen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Fix reference implementation for ArgMin, ArgMax, Reduce* (#4710) * Fix reference implementation for ArgMin Signed-off-by: xadupre <[email protected]> * fix unit test Signed-off-by: xadupre <[email protected]> * fix one unit test in the backend Signed-off-by: xadupre <[email protected]> * fix method name Signed-off-by: xadupre <[email protected]> * fix minor bugs Signed-off-by: xadupre <[email protected]> * fix where Signed-off-by: xadupre <[email protected]> * improve error message Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix type issue Signed-off-by: xadupre <[email protected]> * fix recursive new ops Signed-off-by: xadupre <[email protected]> * add a unit test for check that new_ops is propagated through subgraphs Signed-off-by: xadupre <[email protected]> * remove one print used to debug Signed-off-by: xadupre <[email protected]> * fixes attributes in nested subgraph Signed-off-by: xadupre <[email protected]> * fix sequence map Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix conversion of default value into arrays Signed-off-by: xadupre <[email protected]> * improve code for reference Constant Signed-off-by: xadupre <[email protected]> * remove unused code Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * mypy Signed-off-by: xadupre <[email protected]> * fix lint Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * fix col2im test data (#4769) Signed-off-by: Liqun Fu <[email protected]> Signed-off-by: Liqun Fu <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Add reference implementation for domain ai.onnx.ml (#4714) * first operator ml Signed-off-by: xadupre <[email protected]> * rename file Signed-off-by: xadupre <[email protected]> * add missing import Signed-off-by: xadupre <[email protected]> * skip test if ONNX_ML is false Signed-off-by: xadupre <[email protected]> * add binarizer Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * add normalizer ... Signed-off-by: xadupre <[email protected]> * add label encoder Signed-off-by: xadupre <[email protected]> * add dict vectorizer Signed-off-by: xadupre <[email protected]> * add one hot encoder Signed-off-by: xadupre <[email protected]> * add linear models Signed-off-by: xadupre <[email protected]> * add tree ensemble regressor Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix missing values Signed-off-by: xadupre <[email protected]> * add svm regressor Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * add TreeEnsembleClassifier Signed-off-by: xadupre <[email protected]> * svm classifier Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * isort Signed-off-by: xadupre <[email protected]> * fix precision for one test on MacOS Signed-off-by: xadupre <[email protected]> * Finalize implementation of SVC Signed-off-by: xadupre <[email protected]> * add test for SVMClassifier + linear Signed-off-by: xadupre <[email protected]> * fix one class implementation Signed-off-by: xadupre <[email protected]> * remove unused nan Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * make pages.yml only automatically trigger (#4765) Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Fix types deprecated in `numpy==1.24` (#4721) * Update deprecated nptypes Signed-off-by: p-wysocki <[email protected]> * Update bernoulli test files Signed-off-by: p-wysocki <[email protected]> * Fix Bernoulli tests Signed-off-by: p-wysocki <[email protected]> * Apply CR comments Signed-off-by: p-wysocki <[email protected]> * Fix test files Signed-off-by: p-wysocki <[email protected]> * Fix tests Signed-off-by: p-wysocki <[email protected]> Signed-off-by: p-wysocki <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Swap colors on documentation (#4773) Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Download test data (#4741) * 4390: Enable ONNX Hub to download test_data_set from ONNX Model Zoo Signed-off-by: Aadith Warrier <[email protected]> * 4390: Enable ONNX Hub to download test_data_set from ONNX Model Zoo Signed-off-by: Aadith Warrier <[email protected]> * Fixed typo and changed function name to download_model_with_test_data Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with_test_data Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with_test_data, resolved style issues Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with_test_data,resolved style issues Signed-off-by: Aadith Warrier <[email protected]> * Changed string formatting to f-string Signed-off-by: Aadith Warrier <[email protected]> * Added test for download_model_with test_data. Signed-off-by: Aadith Warrier <[email protected]> * Update onnx/test/hub_test.py Signed-off-by: Aadith Warrier <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Updated hub.py Signed-off-by: Aadith Warrier <[email protected]> * Update hub.py Signed-off-by: Aadith Warrier <[email protected]> Signed-off-by: Aadith Warrier <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Make reference implementation of conv.py 30% faster (#4737) * Make reference implementation of conv.py 30% faster Signed-off-by: xadupre <[email protected]> * fix variable name Signed-off-by: xadupre <[email protected]> * change precision for two backend tests Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> * Updated error messages Signed-off-by: Mike Essenmacher <[email protected]> * Updated error messages Signed-off-by: Mike Essenmacher <[email protected]> * Use fstring in error messages Signed-off-by: Mike Essenmacher <[email protected]> * Change ValueError to TypeError on raise Signed-off-by: Mike Essenmacher <[email protected]> Signed-off-by: Mike Essenmacher <[email protected]> Signed-off-by: xadupre <[email protected]> Signed-off-by: Armen Gabrielyan <[email protected]> Signed-off-by: jcwchen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> Signed-off-by: Liqun Fu <[email protected]> Signed-off-by: p-wysocki <[email protected]> Signed-off-by: Aadith Warrier <[email protected]> Co-authored-by: Xavier Dupré <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Co-authored-by: Armen Gabrielyan <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Co-authored-by: liqun Fu <[email protected]> Co-authored-by: Przemyslaw Wysocki <[email protected]> Co-authored-by: aadith-warrier <[email protected]> * Enable pylint for onnx (#4763) * Disable pylint too-many checks (#2) Signed-off-by: Justin Chu <[email protected]> * Do not display on drafts to make reviewing easier Signed-off-by: Justin Chu <[email protected]> Signed-off-by: Justin Chu <[email protected]> * Fix pages Changes.md (#4801) * fix BatchNormalization documentation Signed-off-by: xadupre <[email protected]> * update documentation Signed-off-by: xadupre <[email protected]> * remove one more tag Signed-off-by: xadupre <[email protected]> Signed-off-by: xadupre <[email protected]> * Fix attribute substitution within subgraphs during function type/shape inference (#4792) * Fix attribute substitution within subgraphs in function inference Signed-off-by: Ganesan Ramalingam <[email protected]> * Delete commented out dead code Signed-off-by: Ganesan Ramalingam <[email protected]> * Address PR feedback Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix lint issue Signed-off-by: Ganesan Ramalingam <[email protected]> Signed-off-by: Ganesan Ramalingam <[email protected]> * fix version_conversion error of Pad-2 to Pad-11 caused by missing value attribu… (#4795) * fix version_conversion error of Pad-2 caused by missing value attribute which is not mandatory Signed-off-by: Tee Jung <[email protected]> * add version_converter adapter test for pad_10_11 Signed-off-by: Tee Jung <[email protected]> * add version_conveter test_case for Pad which has value attribute Signed-off-by: Tee Jung <[email protected]> * match style Signed-off-by: Tee Jung <[email protected]> Signed-off-by: Tee Jung <[email protected]> * Fix typo in documentation (#4806) * Fix attribute substitution within subgraphs in function inference Signed-off-by: Ganesan Ramalingam <[email protected]> * Delete commented out dead code Signed-off-by: Ganesan Ramalingam <[email protected]> * Address PR feedback Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix lint issue Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix typo in documentation Signed-off-by: Ganesan Ramalingam <[email protected]> Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix import submodules (#4803) * Fix import submodules Signed-off-by: Justin Chu <[email protected]> * Update doc Signed-off-by: Justin Chu <[email protected]> Signed-off-by: Justin Chu <[email protected]> * Fix DFT documentation typo (#4807) * Fix attribute substitution within subgraphs in function inference Signed-off-by: Ganesan Ramalingam <[email protected]> * Delete commented out dead code Signed-off-by: Ganesan Ramalingam <[email protected]> * Address PR feedback Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix lint issue Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix DFT documentation Signed-off-by: Ganesan Ramalingam <[email protected]> Signed-off-by: Ganesan Ramalingam <[email protected]> * Expose check_function in Python API (#4720) * Expose check_function in Python API Signed-off-by: jcwchen <[email protected]> * add a test and doc Signed-off-by: Chun-Wei Chen <[email protected]> * correct underline number Signed-off-by: jcwchen <[email protected]> Signed-off-by: jcwchen <[email protected]> Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * fix incorrect member for checker API (#4817) Signed-off-by: jcwchen <[email protected]> Signed-off-by: jcwchen <[email protected]> * Fix cast to string in reference implementation (#4814) * Fix cast to string in reference implementation Signed-off-by: jbachurski <[email protected]> * Add unit tests for string cast Signed-off-by: jbachurski <[email protected]> * Apply linter Signed-off-by: jbachurski <[email protected]> Signed-off-by: jbachurski <[email protected]> * Implement shape inference for Compress (#4812) Signed-off-by: jbachurski <[email protected]> Signed-off-by: jbachurski <[email protected]> Co-authored-by: daquexian <[email protected]> * Implement type and shape inference for OneHotEncoder (#4813) * Implement type and shape inference for OneHotEncoder Signed-off-by: jbachurski <[email protected]> * Remove redundant type ignore Signed-off-by: jbachurski <[email protected]> * Mark test for ONNX_ML only Signed-off-by: jbachurski <[email protected]> * Use skipUnless ONNX_ML in ML type inference tests Signed-off-by: jbachurski <[email protected]> --------- Signed-off-by: jbachurski <[email protected]> * add import-and-import-from in codeql's config (#4808) Signed-off-by: jcwchen <[email protected]> * Update governance to deal with steering committee vacancy (#4811) As discussed in Steering Committe, goal is to avoid costly and time-consuming mid-term election when dealing with a resignation since there is an annual election. Signed-off-by: Prasanth Pulavarthi <[email protected]> Co-authored-by: Ke Zhang <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * improve README [add a) roadmap, b) community meeting] (#4810) * add a) roadmap, b) community meeting Signed-off-by: Andreas Fehlner <[email protected]> * minor revision Signed-off-by: Andreas Fehlner <[email protected]> * minor grammer fix Signed-off-by: Andreas Fehlner <[email protected]> --------- Signed-off-by: Andreas Fehlner <[email protected]> * Add parameterized as a dev dependency (#4577) * Patch 2 (#3) Signed-off-by: Justin Chu <[email protected]> * fix Signed-off-by: Justin Chu <[email protected]> * Fix test Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> * clean up governance file (#4788) Signed-off-by: Andreas Fehlner <[email protected]> * Unskip a backend test in the list supported by the reference implementation (#4832) Signed-off-by: xadupre <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Move a duplicated snippet of code in one place in reference implementation (#4800) * remove unnecessary code in reference implementation Signed-off-by: xadupre <[email protected]> * remove unused imports Signed-off-by: xadupre <[email protected]> * factorize code Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * refactoring Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix annotation Signed-off-by: xadupre <[email protected]> * Update onnx/reference/ops/_helpers.py Co-authored-by: Justin Chu <[email protected]> Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * remove annotation due to python 3.7 bug Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> Co-authored-by: Justin Chu <[email protected]> * Add one backend test mode==max of RoiAlign + ReferenceEvaluator (#4770) * Add one unit test to check mode==max for RoiAlign Signed-off-by: xadupre <[email protected]> * add test coverage for mode max Signed-off-by: xadupre <[email protected]> * add test case in backend Signed-off-by: xadupre <[email protected]> * fix roi onnx model Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Fix typo in mapping.rst (#4838) correspondance -> correspondence Signed-off-by: Ikko Eltociear Ashimine <[email protected]> * update CI pipeline badges to include name of pipeline platform (#4840) Signed-off-by: Prasanth Pulavarthi <[email protected]> * Fix linked parameters in reference implementation for Concat (#4797) Signed-off-by: xadupre <[email protected]> * Fix OptionalHasElement in reference implementation (#4835) * Fix optional values in reference implementation Signed-off-by: xadupre <[email protected]> * lint + raise an exception Signed-off-by: xadupre <[email protected]> * address PR comments Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Handle variants of constant op in shape inference (#4824) * Fix attribute substitution within subgraphs in function inference Signed-off-by: Ganesan Ramalingam <[email protected]> * Delete commented out dead code Signed-off-by: Ganesan Ramalingam <[email protected]> * Address PR feedback Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix lint issue Signed-off-by: Ganesan Ramalingam <[email protected]> * Handle constant op variants Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix whitespace Signed-off-by: Ganesan Ramalingam <[email protected]> * Add test case Signed-off-by: Ganesan Ramalingam <[email protected]> * Run lintrunner Signed-off-by: Ganesan Ramalingam <[email protected]> --------- Signed-off-by: Ganesan Ramalingam <[email protected]> * add lppool test cases (#4761) * Clarify SplitToSequence documentation (#4847) Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix type and shape issue for the reference implementation (#4839) * fix elu output type Signed-off-by: xadupre <[email protected]> * fix types and shapes for many operators Signed-off-by: xadupre <[email protected]> * fix other potential type issues Signed-off-by: xadupre <[email protected]> * remove comments Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * fix wrong example of Gather-11/Gather-1 documentation (#4827) * fix wrong example of Gather-11/Gather-1 documentation Signed-off-by: Tee Jung <[email protected]> * fix wrong explnation of Gather-11 operator's behavior Signed-off-by: Tee Jung <[email protected]> * rebuild docs Signed-off-by: Tee Jung <[email protected]> --------- Signed-off-by: Tee Jung <[email protected]> * Update Linux-CI.yml (#4852) Ubuntu-18.04 is deprecated Signed-off-by: Andreas Fehlner <[email protected]> * Update URL for real models from ONNX Runtime (#4865) * Update URL for real models from ONNX Runtime Signed-off-by: Chun-Wei Chen <[email protected]> * update missing BASE_URL Signed-off-by: Chun-Wei Chen <[email protected]> * fix black Signed-off-by: Chun-Wei Chen <[email protected]> * last / :( Signed-off-by: Chun-Wei Chen <[email protected]> --------- Signed-off-by: Chun-Wei Chen <[email protected]> * Fix python setup.py install failure in weekly pipeline (#4858) * fix weekly pipeline Signed-off-by: Chun-Wei Chen <[email protected]> * add back testing Signed-off-by: Chun-Wei Chen <[email protected]> --------- Signed-off-by: Chun-Wei Chen <[email protected]> * Fix linked_attributes in reference implementation of ReduceSum (#4856) * Fix issue #4850 Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix empty shape Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Update docs to reflect CI and lint changes (#4848) * Update docs to reflect CI and lint changes Signed-off-by: Justin Chu <[email protected]> * format readme Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Fix parser bug in handling non-tensor types (#4863) Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix SplitToSequence reference implementation (#4831) * Fix SplitToSequence reference implementation Signed-off-by: xadupre <[email protected]> * fix implementation of SplitToSequence Signed-off-by: xadupre <[email protected]> * add one backend test Signed-off-by: xadupre <[email protected]> * add backend test for SplitToSequence Signed-off-by: xadupre <[email protected]> * remove unused import Signed-off-by: xadupre <[email protected]> * update test coverage Signed-off-by: xadupre <[email protected]> * input with no dimension Signed-off-by: xadupre <[email protected]> * refactoring Signed-off-by: xadupre <[email protected]> * test coverage Signed-off-by: xadupre <[email protected]> * spelling Signed-off-by: xadupre <[email protected]> * remove length Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * remove unused condition Signed-off-by: xadupre <[email protected]> * annotation, keepdims Signed-off-by: xadupre <[email protected]> * restore the dimension Signed-off-by: xadupre <[email protected]> * fix implementation Signed-off-by: xadupre <[email protected]> * fix keepdims Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Use mypy 1.0.0 (#4873) Signed-off-by: Justin Chu <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Create scorecard.yml (#4875) Signed-off-by: Andreas Fehlner <[email protected]> * Replace master references to main. Fix broken links. Hope DCO passes (#4864) Signed-off-by: Weon Yuan <[email protected]> Co-authored-by: Andreas Fehlner <[email protected]> * Update working-groups.md (#4853) * Update working-groups.md Signed-off-by: Andreas Fehlner <[email protected]> * Update working-groups.md Signed-off-by: Andreas Fehlner <[email protected]> * Update working-groups.md Signed-off-by: Andreas Fehlner <[email protected]> --------- Signed-off-by: Andreas Fehlner <[email protected]> Co-authored-by: Xavier Dupré <[email protected]> * Fix function shape inference bug (#4880) * Fix function shape inference bug Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix lintrunner issues Signed-off-by: Ganesan Ramalingam <[email protected]> --------- Signed-off-by: Ganesan Ramalingam <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Use ruff to replace flake8 and plugins (#4851) * Enforce pep8 naming Signed-off-by: Justin Chu <[email protected]> * Use ruff Signed-off-by: Justin Chu <[email protected]> * update Signed-off-by: Justin Chu <[email protected]> * Unused imports Signed-off-by: Justin Chu <[email protected]> * Fix all Signed-off-by: Justin Chu <[email protected]> * Format Signed-off-by: Justin Chu <[email protected]> * Update docs Signed-off-by: Justin Chu <[email protected]> * Simplify optional lint Signed-off-by: Justin Chu <[email protected]> * concurrency Signed-off-by: Justin Chu <[email protected]> * update test class name Signed-off-by: Justin Chu <[email protected]> * doc Signed-off-by: Justin Chu <[email protected]> * naming fix Signed-off-by: Justin Chu <[email protected]> * ruff version Signed-off-by: Justin Chu <[email protected]> * netdrawer Signed-off-by: Justin Chu <[email protected]> * fix format Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> * Dependabot version updates (#4893) Signed-off-by: Prasanth Pulavarthi <[email protected]> Co-authored-by: Andreas Fehlner <[email protected]> * Update README.md (#4903) Signed-off-by: Andreas Fehlner <[email protected]> * Justinchu/ruff noqa 2 (#4) (#4895) --------- Signed-off-by: Justin Chu <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Temporary Mac release pipeline fix for onnxruntime 1.14.0 (#4896) * Enable testing with ORT and Python 3.11 Signed-off-by: Chun-Wei Chen <[email protected]> * revert about Python 3.11 Signed-off-by: Chun-Wei Chen <[email protected]> --------- Signed-off-by: Chun-Wei Chen <[email protected]> * Update pybind11 for inclusive terminology (#4889) Signed-off-by: Mike Essenmacher <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Co-authored-by: Xavier Dupré <[email protected]> * Pad-19: Add 'wrap' mode (#4793) * add wrap mode to Pad Signed-off-by: Yuan Yao <[email protected]> * fix lint Signed-off-by: Yuan Yao <[email protected]> * fix lint2 Signed-off-by: Yuan Yao <[email protected]> * refactor opsets 18,19 using common doc generator Signed-off-by: Yuan Yao <[email protected]> --------- Signed-off-by: Yuan Yao <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Update action workflows to set default permission to read (#4904) * Update lint.yaml set top-level default permissions as security best practice Signed-off-by: Prasanth Pulavarthi <[email protected]> * Update codeql.yml Signed-off-by: Prasanth Pulavarthi <[email protected]> * Update stale.yml Signed-off-by: Prasanth Pulavarthi <[email protected]> * Update win_no_exception_ci.yml Signed-off-by: Prasanth Pulavarthi <[email protected]> * Update weekly_mac_ci.yml Signed-off-by: Prasanth Pulavarthi <[email protected]> * Update release_win.yml Signed-off-by: Prasanth Pulavarthi <[email protected]> * Update release_linux_aarch64.yml Signed-off-by: Prasanth Pulavarthi <[email protected]> * Update release_linux_x86_64.yml Signed-off-by: Prasanth Pulavarthi <[email protected]> --------- Signed-off-by: Prasanth Pulavarthi <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Co-authored-by: Andreas Fehlner <[email protected]> * Add AveragePool-19 - add `dilations` attribute (#4790) * Initial commit Signed-off-by: p-wysocki <[email protected]> * Minor changes Signed-off-by: p-wysocki <[email protected]> * Fix docs Signed-off-by: p-wysocki <[email protected]> * Fix linter Signed-off-by: p-wysocki <[email protected]> * Update changelog Signed-off-by: p-wysocki <[email protected]> * Fix failing tests Signed-off-by: p-wysocki <[email protected]> * Simplify reference backend tests Signed-off-by: p-wysocki <[email protected]> * Add dilations test case Signed-off-by: p-wysocki <[email protected]> * Update docs Signed-off-by: p-wysocki <[email protected]> * Fix data type Signed-off-by: p-wysocki <[email protected]> * Fix linter Signed-off-by: p-wysocki <[email protected]> * Minor change Signed-off-by: p-wysocki <[email protected]> * Apply CR Signed-off-by: p-wysocki <[email protected]> --------- Signed-off-by: p-wysocki <[email protected]> * Use randint instead of randn to prevent undefined cast (float to uint) (#4804) * use randint instead of randn to prevent undefined cast float to uint Signed-off-by: jcwchen <[email protected]> * use unsigned integer to cover more cases Signed-off-by: jcwchen <[email protected]> * introduce create_random_int_input_for_cast Signed-off-by: jcwchen <[email protected]> * improve by reviews Signed-off-by: jcwchen <[email protected]> * set correct boundary Signed-off-by: jcwchen <[email protected]> * added for int8, int16, int32, int64 Signed-off-by: jcwchen <[email protected]> * fix bug test case Signed-off-by: jcwchen <[email protected]> --------- Signed-off-by: jcwchen <[email protected]> * [CI] Compile with UBSan in CI and fix ParseData nullptr issue (#4823) * [CI]: Compile with UBSan and ASan by clang Signed-off-by: jcwchen <[email protected]> * export correctly Signed-off-by: jcwchen <[email protected]> * put CXX, C in CMAKE_ARGS Signed-off-by: jcwchen <[email protected]> * -fsanitize=memory -fPIE -pie Signed-off-by: jcwchen <[email protected]> * -fsanitize=undefined,address -fno-sanitize-recover=undefined,memory Signed-off-by: jcwchen <[email protected]> * try Signed-off-by: jcwchen <[email protected]> * try MSVC instead Signed-off-by: jcwchen <[email protected]> * remove ; Signed-off-by: jcwchen <[email protected]> * /fsanitize=address /fsanitize=undefined /fsanitize=memory Signed-off-by: jcwchen <[email protected]> * set DEBUG=1 Signed-off-by: jcwchen <[email protected]> * test it on Linux Signed-off-by: jcwchen <[email protected]> * remove memory Signed-off-by: jcwchen <[email protected]> * enable alignment Signed-off-by: jcwchen <[email protected]> * no-sanitize-recover=all Signed-off-by: jcwchen <[email protected]> * find / -name "libasan.so" Signed-off-by: jcwchen <[email protected]> * LD_PRELOAD Signed-off-by: jcwchen <[email protected]> * undefined only Signed-off-by: jcwchen <[email protected]> * remove ld_preload Signed-off-by: jcwchen <[email protected]> * pytest -sv Signed-off-by: jcwchen <[email protected]> * debug parsedata Signed-off-by: jcwchen <[email protected]> * test Signed-off-by: jcwchen <[email protected]> * test Signed-off-by: jcwchen <[email protected]> * test Signed-off-by: jcwchen <[email protected]> * nullptr Signed-off-by: jcwchen <[email protected]> * test Signed-off-by: jcwchen <[email protected]> * test Signed-off-by: jcwchen <[email protected]> * != 0 Signed-off-by: jcwchen <[email protected]> * invalid raw_data Signed-off-by: jcwchen <[email protected]> * raw_data.empty() Signed-off-by: jcwchen <[email protected]> * fix lint Signed-off-by: jcwchen <[email protected]> --------- Signed-off-by: jcwchen <[email protected]> * Update description regarding Ubuntu in README.md (#4867) Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: Andreas Fehlner <[email protected]> * Pin actions to a full length commit SHA (#4894) * Pin actions to a full length commit SHA Signed-off-by: Andreas Fehlner <[email protected]> * add release yml Signed-off-by: Andreas Fehlner <[email protected]> --------- Signed-off-by: Andreas Fehlner <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * fix OptionalGetElement shape inference when input is a tensor (#4905) * Update dependabot.yml (#4901) Show version updates for github actions (documentation here... https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#configuration-options-for-the-dependabotyml-file) => Does relate to https://github.com/onnx/onnx/pull/4894 (fixating the used there.... and get's update if there is a new version available) Signed-off-by: Andreas Fehlner <[email protected]> * Extend Equal operator to support string type (#4828) * Extend Equal operator to support string type Signed-off-by: Ganesan Ramalingam <[email protected]> * Version converter Signed-off-by: Ganesan Ramalingam <[email protected]> * Generate documentation Signed-off-by: Ganesan Ramalingam <[email protected]> * Regenerate test data Signed-off-by: Ganesan Ramalingam <[email protected]> * Add test cases Signed-off-by: Ganesan Ramalingam <[email protected]> * Lint and missing file Signed-off-by: Ganesan Ramalingam <[email protected]> * Generate docs Signed-off-by: Ganesan Ramalingam <[email protected]> --------- Signed-off-by: Ganesan Ramalingam <[email protected]> * Move onnx-weekly package from TestPyPI to PyPI (#4897) * Move onnx-weekly from TestPyPI to PyPI Signed-off-by: Chun-Wei Chen <[email protected]> * still upload onnx-weekly to TestPyPI until next ONNX release Signed-off-by: Chun-Wei Chen <[email protected]> --------- Signed-off-by: Chun-Wei Chen <[email protected]> * read permission + pinned github action versions (security best practice according to openssf) (#4910) * security best practice according to openssf Signed-off-by: Andreas Fehlner <[email protected]> * Update release_linux_x86_64.yml Signed-off-by: Andreas Fehlner <[email protected]> --------- Signed-off-by: Andreas Fehlner <[email protected]> * Update README.md (#4883) Signed-off-by: Andreas Fehlner <[email protected]> * Bump docker/setup-qemu-action from 1.2.0 to 2.1.0 (#4916) Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.2.0 to 2.1.0. - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/27d0a4f181a40b142cce983c5393082c365d1480...e81a89b1732b9c48d79cd809d8d81d79c4647a18) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andreas Fehlner <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Bump microsoft/setup-msbuild from 1.1.3 to 1.3.1 (#4918) Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.1.3 to 1.3.1. - [Release notes](https://github.com/microsoft/setup-msbuild/releases) - [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md) - [Commits](https://github.com/microsoft/setup-msbuild/compare/34cfbaee7f672c76950673338facd8a73f637506...1ff57057b5cfdc39105cd07a01d78e9b0ea0c14c) --- updated-dependencies: - dependency-name: microsoft/setup-msbuild dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 1.0.0 to 3.1.2 (#4922) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1.0.0 to 3.1.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v1...0b7f8abb1508181956e8e162db84b466c27e18ce) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ossf/scorecard-action from 2.0.6 to 2.1.2 (#4914) Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.1.2. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/99c53751e09b9529366343771cc321ec74e9bd3d...e38b1902ae4f44df626f11ba0734b14fb91f8f86) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andreas Fehlner <[email protected]> * Bump actions/stale from 5.2.0 to 7.0.0 (#4917) Bumps [actions/stale](https://github.com/actions/stale) from 5.2.0 to 7.0.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/99b6c709598e2b0d0841cd037aaf1ba07a4410bd...6f05e4244c9a0b2ed3401882b05d701dd0a7289b) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/configure-pages from 2.1.3 to 3.0.4 (#4925) Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 2.1.3 to 3.0.4. - [Release notes](https://github.com/actions/configure-pages/releases) - [Commits](https://github.com/actions/configure-pages/compare/c5a3e1159e0cbdf0845eb8811bd39e39fc3099c2...fc89b04e7d263ef510d9e77d3a1d088fb2688522) --- updated-dependencies: - dependency-name: actions/configure-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove non-required pyzmq due to different license (#4926) Signed-off-by: Chun-Wei Chen <[email protected]> * Use the furo theme (#4923) * Theme Signed-off-by: Justin Chu <[email protected]> * requirements options conf Signed-off-by: Justin Chu <[email protected]> * Remove tocs as furo does not need them Signed-off-by: Justin Chu <[email protected]> * logo Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> Co-authored-by: Andreas Fehlner <[email protected]> * Disallow and fix relative imports (#4924) * Disallow relative imports Signed-off-by: Justin Chu <[email protected]> * bump ruff version Signed-off-by: Justin Chu <[email protected]> * Fix Signed-off-by: Justin Chu <[email protected]> * fix ruff version Signed-off-by: Justin Chu <[email protected]> * Fix format Signed-off-by: Justin Chu <[email protected]> * Fix mypy Signed-off-by: Justin Chu <[email protected]> * format Signed-off-by: Justin Chu <[email protected]> * black Signed-off-by: Justin Chu <[email protected]> * doc Signed-off-by: Justin Chu <[email protected]> * docs again Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> * [Non functional changes] Added links to the SIG and Working group pages to reduce redundancy (#4906) * added compilers sig as well as a link to the SIG pages Signed-off-by: Alexandre Eichenberger <[email protected]> * responded to comments about reducing redundancy between onnx repo Signed-off-by: Alexandre Eichenberger <[email protected]> --------- Signed-off-by: Alexandre Eichenberger <[email protected]> * Add Resize-19: half_pixel_symmetric (#4862) * Add Resize-19: half_pixel_symmetric Signed-off-by: Joaquin Anton <[email protected]> * Code review fixes Signed-off-by: Joaquin Anton <[email protected]> * Resize-19 adapter Signed-off-by: Joaquin Anton <[email protected]> * Lint fix Signed-off-by: Joaquin Anton <[email protected]> --------- Signed-off-by: Joaquin Anton <[email protected]> * after ONNX 1.13.1 release (#4932) * Set default CheckerContext for check_function properly (#4928) * set default Context for check_function properly Signed-off-by: Chun-Wei Chen <[email protected]> * use default optional None Signed-off-by: Chun-Wei Chen <[email protected]> * use find_min_ir_version_for Signed-off-by: Chun-Wei Chen <[email protected]> * add ignore_unknown Signed-off-by: Chun-Wei Chen <[email protected]> --------- Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Fix STFT output shape (#4920) * fix stft output shape Signed-off-by: Justin Stoecker <[email protected]> * clean up curious double conditional Signed-off-by: Justin Stoecker <[email protected]> --------- Signed-off-by: Justin Stoecker <[email protected]> * Autoformat with ruff SIM rules (#4935) * Autoformat with ruff SIM rules Signed-off-by: Justin Chu <[email protected]> * diff Signed-off-by: Justin Chu <[email protected]> * rules Signed-off-by: Justin Chu <[email protected]> * rules Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> * Sphinx type name rendering (#4938) Signed-off-by: Justin Chu <[email protected]> * Use light local onnx file instead of heavy remote files (#4861) * add data file Signed-off-by: xadupre <[email protected]> * use local files Signed-off-by: xadupre <[email protected]> * avoid real tests Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * use local files Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * remove eol Signed-off-by: xadupre <[email protected]> * add function replace_initializer_by_constant_of_shape Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * support constant Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * support functions Signed-off-by: xadupre <[email protected]> * fix support of graph Signed-off-by: xadupre <[email protected]> * documentation Signed-off-by: xadupre <[email protected]> * add a test to run the backend for ReferenceEvaluator Signed-off-by: xadupre <[email protected]> * finalize backend test Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * exception messahge Signed-off-by: xadupre <[email protected]> * List[NodeProto] Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * exclude test on Windows Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> * fix spelling Signed-off-by: xadupre <[email protected]> * documentation Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> * Bump github/codeql-action from 2.2.4 to 2.2.5 (#4947) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 2.2.5. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2.2.4...32dc499307d133bb5085bae78498c0ac2cf762d5) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add method to type-check a function (#4912) * Expose function type checker Signed-off-by: Ganesan Ramalingam <[email protected]> * Expose inference-check for function Signed-off-by: Ganesan Ramalingam <[email protected]> * Add test case Signed-off-by: Ganesan Ramalingam <[email protected]> * Move from checker to inference Signed-off-by: Ganesan Ramalingam <[email protected]> * Add attribute test Signed-off-by: Ganesan Ramalingam <[email protected]> * One more test Signed-off-by: Ganesan Ramalingam <[email protected]> * fix import Signed-off-by: Ganesan Ramalingam <[email protected]> * Unused parameters Signed-off-by: Ganesan Ramalingam <[email protected]> * Formatting changes Signed-off-by: Ganesan Ramalingam <[email protected]> * Formatting changes Signed-off-by: Ganesan Ramalingam <[email protected]> * Vector reserve and unused parameters Signed-off-by: Ganesan Ramalingam <[email protected]> * Add documentation Signed-off-by: Ganesan Ramalingam <[email protected]> * Address PR feedback Signed-off-by: Ganesan Ramalingam <[email protected]> * Omit unused imports Signed-off-by: Ganesan Ramalingam <[email protected]> --------- Signed-off-by: Ganesan Ramalingam <[email protected]> * replace MIT with Apache-2.0 (#4943) Signed-off-by: andife <[email protected]> * remove 3 unnecessary files (#4953) Signed-off-by: xadupre <[email protected]> * Make LRN reference implementation 50x faster (#4954) * Make LRN reference implementation 50x faster Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]> * Fix Windows x86 pipeline failure: handle NumPy behavior in reference (#4955) * Fix Windows x86 pipeline failure: handle NumPy behavior in onnx.reference Signed-off-by: Chun-Wei Chen <[email protected]> * use astype(np.int64) Signed-off-by: Chun-Wei Chen <[email protected]> --------- Signed-off-by: Chun-Wei Chen <[email protected]> * add run release CIs to cover more pipelines for testing (#4948) Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: Andreas Fehlner <[email protected]> * Apply ORT 1.14.1 to resolve compatibility issue on Mac (#4950) Signed-off-by: Chun-Wei Chen <[email protected]> Co-authored-by: Andreas Fehlner <[email protected]> * proto to support attributes with default values (#4911) * fix something introduced with formatting (#4967) * Update function default-attribute documentation (#4965) Signed-off-by: Ganesan Ramalingam <[email protected]> * Clarify reduction op inputs can be rank-0 tensors (scalars) (#4963) * Update reduce op doc Signed-off-by: Ganesan Ramalingam <[email protected]> * Generate documentation Signed-off-by: Ganesan Ramalingam <[email protected]> --------- Signed-off-by: Ganesan Ramalingam <[email protected]> * Update documentation of optional arguments (#4970) * Update documentation of optional arguments Signed-off-by: Ganesan Ramalingam <[email protected]> * Update formatting Signed-off-by: Ganesan Ramalingam <[email protected]> --------- Signed-off-by: Ganesan Ramalingam <[email protected]> * Fix softplus function definition (#4979) * Fix softplus function definition Signed-off-by: Ganesan Ramalingam <[email protected]> * Regenerate documentation Signed-off-by: Ganesan Ramalingam <[email protected]> * Add auto-generated tests Signed-off-by: Ganesan Ramalingam <[email protected]> --------- Signed-off-by: Ganesan Ramalingam <[email protected]> * Add comments to pyproject.toml to explain how to configure linters (#4978) * Update pyproject.toml Signed-off-by: Justin Chu <[email protected]> * Update pyproject.toml Signed-off-by: Justin Chu <[email protected]> --------- Signed-off-by: Justin Chu <[email protected]> Signed-off-by: Justin Chu <[email protected]> * Bump actions/deploy-pages from 1.2.4 to 1.2.5 (#4985) Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1.2.4 to 1.2.5. - [Release notes](https://github.com/actions/deploy-pages/releases) - [Commits](https://github.com/actions/deploy-pages/compare/0243b6c10d06cb8e95ed8ee471231877621202c0...497da40f5225e762159b457c9ae5d6f75a136f5c) --- updated-dependencies: - dependency-name: actions/deploy-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chun-Wei Chen <[email protected]> * Bump github/codeql-action from 2.2.5 to 2.2.6 (#4984) * Bump github/codeql-action from 2.2.5 to 2.2.6 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.5 to 2.2.6. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/32dc499307d133bb5085bae78498c0ac2cf762d5...16964e90ba004cdf0cd845b866b5df21038b7723) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update .github/workflows/scorecard.yml Signe…
Description
attributes may have default values, current proto does not serialize default values
Motivation and Context
add support of default values in proto.