Skip to content

Commit

Permalink
Correct wrong description for multidirectional broadcastable Pow (onn…
Browse files Browse the repository at this point in the history
…x#2999)

* remove wrong description for pow

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* Add size check to make_tensor (onnx#2987)

Co-authored-by: Ke Zhang <linkerzhang@yeah.net>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* Fix float16 data convert issue in numpy_helper.to_array (onnx#3002)

* handle f16 case for to_array

* fix flake8

* nit: comment

Co-authored-by: Ashwini Khade <askhade@microsoft.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* Deprecate Travis CI (onnx#2773)

* adding gtests for c++ api test

* deprecate travis

* adding the build badges for the new pipelines in Azure, deprecating travis build badge, renaming circleCI badge

* updating badge label

* removing - in badge names

* c++ api changes for linux

* update environment variables

* update env variables, setup tools call

* Update Linux-CI.yml for Azure Pipelines

* revert changes to Linux and Mac CIs

* delete last travis file

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* Fix shape inference of scalar ConstantOfShape (onnx#3005)

When input shape is (0), we do not add any dim to inferred
shape but we should initialize tensor_type.shape by calling
mutable_shape().

Co-authored-by: Ashwini Khade <askhade@microsoft.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* fix shape inference for loop (onnx#3014)

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* Fix ConvTranspose: enhance attribute check (onnx#3000)

* add check for using auto_pad and pads simultaneously

* fix description for auto_pads == SAME_UPPER

* update docs for operator

* fix the old one as well

* add a test

* Revert "fix description for auto_pads == SAME_UPPER"

This reverts commit e75e287.

* Revert "update docs for operator"

This reverts commit 70952c0.

* Revert "fix the old one as well"

This reverts commit 8a0482d.

Co-authored-by: Ashwini Khade <askhade@microsoft.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* Schema change to support dynamic shapes in ORT (onnx#2955)

* Changes to schema and python tests

* Modify test

* Remove attribute that is input also

* Changes to optimizers, adapters and tests

* Run flake8

* undo unrequired comit files, fix formatting, review changes

* Fix ci test, cleanup

* Fix narrowing conversion error

* add missed test model

Co-authored-by: G. Ramalingam <grama@microsoft.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* fix loop shape inference for ver 11 (onnx#3023)

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* Update softmax family ops behavior to align with other frameworks (fix onnx#2289) (onnx#2879)

* Update softmax family ops behavior to align with other frameworks

* Update logsoftmax, hardmax tests, regenerate docs and test data

* fix wrong input name in function

* regenerate test data

* fix flake8 error

* regenerate docs

* regenerate docs

* add missing type annotation for hardmax

* add the math for softmax family operators

* remove the 'description' field in docs as it is covered by the math

* fix wrong format in axis attr

* replace name with description

* restore the name field for axis attr

* regenerate docs

* regenerate docs

* add the missing name

* regenerate docs

* update reducesum to align with master

* regenerate tests

Co-authored-by: Wei-Sheng Chin <wschin@outlook.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

Co-authored-by: G. Ramalingam <grama@microsoft.com>
Co-authored-by: Ke Zhang <linkerzhang@yeah.net>
Co-authored-by: Ashwini Khade <askhade@microsoft.com>
Co-authored-by: Vinitra Swamy <vinitras@gmail.com>
Co-authored-by: Shinichiro Hamaji <shinichiro.hamaji@gmail.com>
Co-authored-by: ashbhandare <ash.bhandare@gmail.com>
Co-authored-by: daquexian <daquexian566@gmail.com>
Co-authored-by: Wei-Sheng Chin <wschin@outlook.com>
  • Loading branch information
9 people committed Oct 8, 2020
1 parent 513e32e commit d0b9be8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/Changelog.md
Expand Up @@ -7190,7 +7190,7 @@ This version of the operator has been available since version 7 of the default O

<dl>
<dt><tt>Z</tt> : T</dt>
<dd>Output tensor (same size as X)</dd>
<dd>Output tensor.</dd>
</dl>

#### Type Constraints
Expand Down Expand Up @@ -14685,7 +14685,7 @@ This version of the operator has been available since version 12 of the default

<dl>
<dt><tt>Z</tt> : T</dt>
<dd>Output tensor (same size as X)</dd>
<dd>Output tensor.</dd>
</dl>

#### Type Constraints
Expand Down Expand Up @@ -16965,7 +16965,7 @@ This version of the operator has been available since version 13 of the default

<dl>
<dt><tt>Z</tt> : T</dt>
<dd>Output tensor (same size as X)</dd>
<dd>Output tensor.</dd>
</dl>

#### Type Constraints
Expand Down
2 changes: 1 addition & 1 deletion docs/Operators.md
Expand Up @@ -12575,7 +12575,7 @@ Other versions of this operator: <a href="Changelog.md#Pow-1">1</a>, <a href="Ch

<dl>
<dt><tt>Z</tt> : T</dt>
<dd>Output tensor (same size as X)</dd>
<dd>Output tensor.</dd>
</dl>

#### Type Constraints
Expand Down
2 changes: 1 addition & 1 deletion onnx/defs/math/defs.cc
Expand Up @@ -596,7 +596,7 @@ ONNX_OPERATOR_SET_SCHEMA(
std::string(Pow_ver13_doc) + GenerateBroadcastingDocMul()))
.Input(0, "X", "First operand, base of the exponent.", "T")
.Input(1, "Y", "Second operand, power of the exponent.", "T1")
.Output(0, "Z", "Output tensor (same size as X)", "T")
.Output(0, "Z", "Output tensor.", "T")
.TypeConstraint(
"T",
{"tensor(int32)",
Expand Down
4 changes: 2 additions & 2 deletions onnx/defs/math/old.cc
Expand Up @@ -419,7 +419,7 @@ ONNX_OPERATOR_SET_SCHEMA(
std::string(Pow_ver12_doc) + GenerateBroadcastingDocMul()))
.Input(0, "X", "First operand, base of the exponent.", "T")
.Input(1, "Y", "Second operand, power of the exponent.", "T1")
.Output(0, "Z", "Output tensor (same size as X)", "T")
.Output(0, "Z", "Output tensor.", "T")
.TypeConstraint(
"T",
{"tensor(int32)",
Expand Down Expand Up @@ -1338,7 +1338,7 @@ ONNX_OPERATOR_SET_SCHEMA(
.SetDoc(std::string(Pow_ver7_doc) + GenerateBroadcastingDocMul())
.Input(0, "X", "First operand, base of the exponent.", "T")
.Input(1, "Y", "Second operand, power of the exponent.", "T")
.Output(0, "Z", "Output tensor (same size as X)", "T")
.Output(0, "Z", "Output tensor.", "T")
.TypeConstraint(
"T",
{"tensor(float16)", "tensor(float)", "tensor(double)"},
Expand Down

0 comments on commit d0b9be8

Please sign in to comment.