Skip to content

Commit 6db386e

Browse files
authored
make output shape clear enough for Softmax family (#1634)
1 parent 2b67c6e commit 6db386e

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/Changelog.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ This version of the operator has been available since version 1 of the default O
17731773

17741774
<dl>
17751775
<dt><tt>output</tt> : T</dt>
1776-
<dd>The output values with the same shape as input tensor.</dd>
1776+
<dd>The output values with the same shape as input tensor (the original size without coercion).</dd>
17771777
</dl>
17781778

17791779
#### Type Constraints
@@ -2301,7 +2301,7 @@ This version of the operator has been available since version 1 of the default O
23012301

23022302
<dl>
23032303
<dt><tt>output</tt> : T</dt>
2304-
<dd>The output values with the same shape as input tensor.</dd>
2304+
<dd>The output values with the same shape as input tensor (the original size without coercion).</dd>
23052305
</dl>
23062306

23072307
#### Type Constraints
@@ -4366,7 +4366,7 @@ This version of the operator has been available since version 1 of the default O
43664366

43674367
<dl>
43684368
<dt><tt>output</tt> : T</dt>
4369-
<dd>The output values with the same shape as input tensor.</dd>
4369+
<dd>The output values with the same shape as input tensor (the original size without coercion).</dd>
43704370
</dl>
43714371

43724372
#### Type Constraints

docs/Operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4541,7 +4541,7 @@ This version of the operator has been available since version 1 of the default O
45414541

45424542
<dl>
45434543
<dt><tt>output</tt> : T</dt>
4544-
<dd>The output values with the same shape as input tensor.</dd>
4544+
<dd>The output values with the same shape as input tensor (the original size without coercion).</dd>
45454545
</dl>
45464546

45474547
#### Type Constraints
@@ -5463,7 +5463,7 @@ This version of the operator has been available since version 1 of the default O
54635463

54645464
<dl>
54655465
<dt><tt>output</tt> : T</dt>
5466-
<dd>The output values with the same shape as input tensor.</dd>
5466+
<dd>The output values with the same shape as input tensor (the original size without coercion).</dd>
54675467
</dl>
54685468

54695469
#### Type Constraints
@@ -10347,7 +10347,7 @@ This version of the operator has been available since version 1 of the default O
1034710347

1034810348
<dl>
1034910349
<dt><tt>output</tt> : T</dt>
10350-
<dd>The output values with the same shape as input tensor.</dd>
10350+
<dd>The output values with the same shape as input tensor (the original size without coercion).</dd>
1035110351
</dl>
1035210352

1035310353
#### Type Constraints

onnx/defs/math/defs.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ will throw errors.
7575
0,
7676
"output",
7777
"The output values with the same "
78-
"shape as input tensor.",
78+
"shape as input tensor (the original size without coercion).",
7979
"T");
8080
schema.TypeConstraint(
8181
"T",

0 commit comments

Comments
 (0)