Skip to content

Commit 4f064a1

Browse files
nbcsmlinkerzhang
authored andcommitted
fix Greater and Less doc (onnx#1811)
1 parent 0628582 commit 4f064a1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/Changelog.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8881,7 +8881,7 @@ This version of the operator has been available since version 9 of the default O
88818881

88828882
<dl>
88838883
<dt><tt>T</tt> : tensor(uint8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(int8), tensor(int16), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double)</dt>
8884-
<dd>Constrains input to float tensors.</dd>
8884+
<dd>Constrains input types to all numeric tensors.</dd>
88858885
<dt><tt>T1</tt> : tensor(bool)</dt>
88868886
<dd>Constrains output to boolean tensor.</dd>
88878887
</dl>
@@ -8948,7 +8948,7 @@ This version of the operator has been available since version 9 of the default O
89488948

89498949
<dl>
89508950
<dt><tt>T</tt> : tensor(uint8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(int8), tensor(int16), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double)</dt>
8951-
<dd>Constrains input to float tensors.</dd>
8951+
<dd>Constrains input types to all numeric tensors.</dd>
89528952
<dt><tt>T1</tt> : tensor(bool)</dt>
89538953
<dd>Constrains output to boolean tensor.</dd>
89548954
</dl>

docs/Operators.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4465,7 +4465,7 @@ Other versions of this operator: <a href="Changelog.md#Greater-1">Greater-1</a>,
44654465

44664466
<dl>
44674467
<dt><tt>T</tt> : tensor(uint8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(int8), tensor(int16), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double)</dt>
4468-
<dd>Constrains input to float tensors.</dd>
4468+
<dd>Constrains input types to all numeric tensors.</dd>
44694469
<dt><tt>T1</tt> : tensor(bool)</dt>
44704470
<dd>Constrains output to boolean tensor.</dd>
44714471
</dl>
@@ -5472,7 +5472,7 @@ Other versions of this operator: <a href="Changelog.md#Less-1">Less-1</a>, <a hr
54725472

54735473
<dl>
54745474
<dt><tt>T</tt> : tensor(uint8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(int8), tensor(int16), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double)</dt>
5475-
<dd>Constrains input to float tensors.</dd>
5475+
<dd>Constrains input types to all numeric tensors.</dd>
54765476
<dt><tt>T1</tt> : tensor(bool)</dt>
54775477
<dd>Constrains output to boolean tensor.</dd>
54785478
</dl>

onnx/defs/logical/defs.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ ONNX_OPERATOR_SET_SCHEMA(
8787
.TypeConstraint(
8888
"T",
8989
OpSchema::all_numeric_types(),
90-
"Constrains input to float tensors.")
90+
"Constrains input types to all numeric tensors.")
9191
.TypeConstraint(
9292
"T1",
9393
{"tensor(bool)"},
@@ -101,7 +101,7 @@ ONNX_OPERATOR_SET_SCHEMA(
101101
.TypeConstraint(
102102
"T",
103103
OpSchema::all_numeric_types(),
104-
"Constrains input to float tensors.")
104+
"Constrains input types to all numeric tensors.")
105105
.TypeConstraint(
106106
"T1",
107107
{"tensor(bool)"},

0 commit comments

Comments
 (0)