Skip to content

Rel 1.7.0#2650

Merged
linkerzhang merged 2 commits intoonnx:rel-1.7.0from
chinhuang007:rel-1.7.0
Mar 10, 2020
Merged

Rel 1.7.0#2650
linkerzhang merged 2 commits intoonnx:rel-1.7.0from
chinhuang007:rel-1.7.0

Conversation

@chinhuang007
Copy link
Copy Markdown
Contributor

Rebase to pick up critical PRs merged last night from the master branch

take-cheeze and others added 2 commits March 10, 2020 09:50
* Fix Greater/LessOrEqual function definition

* Update test data

Co-authored-by: Ke Zhang <kezhan@microsoft.com>
I keep getting this warning when building PyTorch:

```
In file included from
/home/hong/wsrc/pytorch/third_party/onnx/onnx/defs/tensor/utils.h:6,
                 from
/home/hong/wsrc/pytorch/third_party/onnx/onnx/defs/tensor/defs.cc:4:
/home/hong/wsrc/pytorch/third_party/onnx/onnx/defs/tensor/defs.cc: In
lambda function:
/home/hong/wsrc/pytorch/third_party/onnx/onnx/defs/tensor/defs.cc:1414:22:
warning: unnecessary parentheses in declaration of �i�
[-Wparentheses]
           for (size_t(i) = 0; i < axes.size(); ++i) {
                      ^
/home/hong/wsrc/pytorch/third_party/onnx/onnx/defs/schema.h:959:12:
note: in definition of macro �ONNX_OPERATOR_SET_SCHEMA_EX�
     return impl.SetName(#name)
\
            ^~~~
/home/hong/wsrc/pytorch/third_party/onnx/onnx/defs/tensor/defs.cc:1369:1:
note: in expansion of macro �ONNX_OPERATOR_SET_SCHEMA�
 ONNX_OPERATOR_SET_SCHEMA(
```

This commit should fix it and modernize the code a bit.

Co-authored-by: Ke Zhang <kezhan@microsoft.com>
@chinhuang007 chinhuang007 requested a review from a team as a code owner March 10, 2020 17:24
@linkerzhang linkerzhang merged commit 9942125 into onnx:rel-1.7.0 Mar 10, 2020
@chinhuang007 chinhuang007 deleted the rel-1.7.0 branch March 11, 2020 00:48
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.

4 participants