Skip to content

Update gen_doc script to validate proto3 files#2122

Merged
wschin merged 7 commits intoonnx:masterfrom
raymondxyang:proto3
Sep 19, 2019
Merged

Update gen_doc script to validate proto3 files#2122
wschin merged 7 commits intoonnx:masterfrom
raymondxyang:proto3

Conversation

@raymondxyang
Copy link
Copy Markdown
Contributor

Add a step in gen_doc.py to validate the generated proto3 files by using them to generate the .cc .h code.
This step will only be triggered when ONNX_VERIFY_PROTO3 is set to true in CI env.

@raymondxyang raymondxyang requested a review from a team as a code owner June 20, 2019 22:34
@linkerzhang linkerzhang requested a review from houseroad June 25, 2019 01:08
Copy link
Copy Markdown
Member

@linkerzhang linkerzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be added in CI kind of as a test case instead of being added in gen_doc.py?

@linkerzhang linkerzhang self-requested a review June 25, 2019 01:09
@raymondxyang
Copy link
Copy Markdown
Contributor Author

I added this into windows CI already. Any changes breaks the protoc compilation will be blocked

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 24, 2019

CLA assistant check
All committers have signed the CLA.

@prasanthpul prasanthpul added this to the 1.6 milestone Aug 20, 2019
@prasanthpul prasanthpul requested a review from wschin September 9, 2019 23:13
Copy link
Copy Markdown
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@houseroad
Copy link
Copy Markdown
Member

@raymondxyang could you sign the CLA?

@gramalingam
Copy link
Copy Markdown
Contributor

Raymond left Microsoft. So, we may need to duplicate this, if we want to merge this in.

@wschin wschin merged commit 7840504 into onnx:master Sep 19, 2019
kevinch-nv pushed a commit that referenced this pull request Sep 23, 2019
* Gemm optional bias (#2330)

* Made the 'C' input of Gemm (the bias term) optional.

If missing it defaults to 0.

Also added a test case for no bias.

Updated the Gemm op to version 11.

* Fixed a typo!

* Small tweaks to the Gemm docs.

* Added a shape inference test for Gemm with no bias

* Tweaked coding style slightly by adding braces to single line scopes.

* Fix some backend tests  (#2335)

* Fix some node tests

* PR comments and docs

* Update Changelog.md

* Update gen_doc script to validate proto3 files (#2122)

* Update gen_doc script to validate proto3 files

* Update CMakeLists.txt

* Update pybind (#2340)

* Fix node test case model for Gemm scalar bias case (#2342)

* Fix some node tests

* PR comments and docs

* Update Changelog.md

* Fix gemm scalar node test

* Clarify behavior in ConvTranspose (#2343)

* Fix the wrong behavior in ConvTranspose

* Address comments
@houseroad
Copy link
Copy Markdown
Member

Thanks a lot @raymondxyang

jcwchen pushed a commit to jcwchen/onnx that referenced this pull request Sep 23, 2020
* Update gen_doc script to validate proto3 files

* Update CMakeLists.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants