Skip to content

Clarify behavior in ConvTranspose#2343

Merged
wschin merged 4 commits intoonnx:masterfrom
wschin:update-convt
Sep 21, 2019
Merged

Clarify behavior in ConvTranspose#2343
wschin merged 4 commits intoonnx:masterfrom
wschin:update-convt

Conversation

@wschin
Copy link
Copy Markdown
Collaborator

@wschin wschin commented Sep 20, 2019

This PR makes the wording for output_padding attribute in ConvTranspose clearer. Since the version number of ConvTranspose in ONNX-1.5 is still 1, this PR doesn't touch ConvTranspose's version number. That is, the ConvTranspose is still in opset 11. Note that since Tensorflow doesn't use output_padding, this attribute is mainly for matching Pytorch's behavior.

Pytorch reference. Tensorflow reference.

This PR should fix #2333.

@wschin wschin added the topic: operator Issues related to ONNX operators label Sep 20, 2019
@wschin wschin added this to the 1.6 milestone Sep 20, 2019
@wschin wschin requested a review from a team as a code owner September 20, 2019 22:17
Comment thread docs/Changelog.md Outdated
Comment thread onnx/defs/nn/defs.cc Outdated
Comment thread docs/Operators.md Outdated
Copy link
Copy Markdown
Contributor

@fdwr fdwr left a comment

Choose a reason for hiding this comment

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

Thanks.

@wschin wschin changed the title Fix the wrong behavior in ConvTranspose Clarify behavior in ConvTranspose Sep 20, 2019
@wschin wschin merged commit c5af774 into onnx:master Sep 21, 2019
@wschin wschin deleted the update-convt branch September 21, 2019 00:52
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
jcwchen pushed a commit to jcwchen/onnx that referenced this pull request Sep 23, 2020
* Fix the wrong behavior in ConvTranspose

* Address comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: operator Issues related to ONNX operators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConvTranspose's output_padding attribute requires clarification

4 participants