Skip to content

Commit d741ebd

Browse files
committed
update l2Pool2d and separate tables of listing input data types
1 parent f2188b4 commit d741ebd

1 file changed

Lines changed: 101 additions & 20 deletions

File tree

index.bs

Lines changed: 101 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4081,8 +4081,8 @@ partial dictionary MLOpSupportLimits {
40814081
tensor is the same as the shape of input tensor.
40824082
</div>
40834083

4084-
<table id=tensor-limits-elementwise-unary-abs-identity-neg class='data' link-for="MLGraphBuilder/abs(input, options), MLGraphBuilder/identity(input, options), MLGraphBuilder/neg(input, options)">
4085-
<caption>Tensor limits for {{MLGraphBuilder/abs()}}/{{MLGraphBuilder/identity()}}/{{MLGraphBuilder/neg()}}</caption>
4084+
<table id=tensor-limits-elementwise-unary-abs-neg class='data' link-for="MLGraphBuilder/abs(input, options), MLGraphBuilder/neg(input, options)">
4085+
<caption>Tensor limits for {{MLGraphBuilder/abs()}}/{{MLGraphBuilder/neg()}}</caption>
40864086
<thead>
40874087
<tr>
40884088
<th>operand</th>
@@ -4094,7 +4094,7 @@ partial dictionary MLOpSupportLimits {
40944094
</thead>
40954095
<tr>
40964096
<td>{{input}}</td>
4097-
<td>specified as part of operation steps</td>
4097+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"int8"}}</td>
40984098
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
40994099
<td>[=/any rank|N=]</td>
41004100
<td>0 to 5</td>
@@ -4121,7 +4121,7 @@ partial dictionary MLOpSupportLimits {
41214121
</thead>
41224122
<tr>
41234123
<td>{{input}}</td>
4124-
<td>specified as part of operation steps</td>
4124+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
41254125
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
41264126
<td>[=/any rank|N=]</td>
41274127
<td>0 to 5</td>
@@ -4135,6 +4135,33 @@ partial dictionary MLOpSupportLimits {
41354135
</tr>
41364136
</table>
41374137

4138+
<table id=tensor-limits-elementwise-unary-identity class='data' link-for="MLGraphBuilder/identity(input, options)">
4139+
<caption>Tensor limits for {{MLGraphBuilder/identity()}}</caption>
4140+
<thead>
4141+
<tr>
4142+
<th>operand</th>
4143+
<th>[=/allowed data types=]</th>
4144+
<th>[=/required data types=]</th>
4145+
<th>[=/allowed ranks=]</th>
4146+
<th>[=/required ranks=]</th>
4147+
</tr>
4148+
</thead>
4149+
<tr>
4150+
<td>{{input}}</td>
4151+
<td>[=/any data type|any=]</td>
4152+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
4153+
<td>[=/any rank|N=]</td>
4154+
<td>0 to 5</td>
4155+
</tr>
4156+
<tr>
4157+
<td>*output*</td>
4158+
<td>[=/same type as|same as=] {{input}}</td>
4159+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
4160+
<td>[=/same rank as|same as=] {{input}}</td>
4161+
<td>0 to 5</td>
4162+
</tr>
4163+
</table>
4164+
41384165
<table id=tensor-limits-elementwise-unary-sign class='data' link-for="MLGraphBuilder/sign(input, options)">
41394166
<caption>Tensor limits for {{MLGraphBuilder/sign()}}</caption>
41404167
<thead>
@@ -8255,8 +8282,8 @@ partial dictionary MLOpSupportLimits {
82558282
`output size = ceil(1 + (input size - filter size + beginning padding + ending padding) / stride)`
82568283
</div>
82578284

8258-
<table id=tensor-limits-pooling-averagepool2d-maxpool2d class='data' link-for="MLGraphBuilder/averagePool2d(input, options), MLGraphBuilder/maxPool2d(input, options)">
8259-
<caption>Tensor limits for {{MLGraphBuilder/averagePool2d()}}/{{MLGraphBuilder/maxPool2d()}}</caption>
8285+
<table id=tensor-limits-pooling-averagepool2d-l2pool2d class='data' link-for="MLGraphBuilder/averagePool2d(input, options), MLGraphBuilder/l2Pool2d(input, options)">
8286+
<caption>Tensor limits for {{MLGraphBuilder/averagePool2d()}}/{{MLGraphBuilder/l2Pool2d()}}</caption>
82608287
<thead>
82618288
<tr>
82628289
<th>operand</th>
@@ -8268,7 +8295,7 @@ partial dictionary MLOpSupportLimits {
82688295
</thead>
82698296
<tr>
82708297
<td>{{input}}</td>
8271-
<td>specified as part of operation steps</td>
8298+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
82728299
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
82738300
<td>4</td>
82748301
<td>4</td>
@@ -8282,8 +8309,8 @@ partial dictionary MLOpSupportLimits {
82828309
</tr>
82838310
</table>
82848311

8285-
<table id=tensor-limits-pooling-l2pool2d class='data' link-for="MLGraphBuilder/l2Pool2d(input, options)">
8286-
<caption>Tensor limits for {{MLGraphBuilder/l2Pool2d()}}</caption>
8312+
<table id=tensor-limits-pooling-maxpool2d class='data' link-for="MLGraphBuilder/maxPool2d(input, options)">
8313+
<caption>Tensor limits for {{MLGraphBuilder/maxPool2d()}}</caption>
82878314
<thead>
82888315
<tr>
82898316
<th>operand</th>
@@ -8295,17 +8322,17 @@ partial dictionary MLOpSupportLimits {
82958322
</thead>
82968323
<tr>
82978324
<td>{{input}}</td>
8298-
<td>specified as part of operation steps</td>
8299-
<td></td>
8325+
<td>[=/any data type|any=]</td>
8326+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8327+
<td>4</td>
83008328
<td>4</td>
8301-
<td></td>
83028329
</tr>
83038330
<tr>
83048331
<td>*output*</td>
83058332
<td>[=/same type as|same as=] {{input}}</td>
8306-
<td></td>
8333+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8334+
<td>4</td>
83078335
<td>4</td>
8308-
<td></td>
83098336
</tr>
83108337
</table>
83118338

@@ -8608,8 +8635,8 @@ partial dictionary MLOpSupportLimits {
86088635
**Returns:** an {{MLOperand}}. The output N-D tensor of [=MLOperand/rank=] in the range 0 to {{MLGraphBuilder/reduceL1(input, options)/input}}'s [=MLOperand/rank=], inclusive, depending on {{MLReduceOptions/axes}} and {{MLReduceOptions/keepDimensions}}. If the input operand is a scalar, the reduction function is applied to the scalar value, and the output is also a scalar.
86098636
</div>
86108637

8611-
<table id=tensor-limits-reduction-reducel1-reducemax-reducemin-reducesum-reducesumsquare class='data' link-for="MLGraphBuilder/reduceL1(input, options), MLGraphBuilder/reduceMax(input, options), MLGraphBuilder/reduceMin(input, options), MLGraphBuilder/reduceSum(input, options), MLGraphBuilder/reduceSumSquare(input, options)">
8612-
<caption>Tensor limits for {{MLGraphBuilder/reduceL1()}}/{{MLGraphBuilder/reduceMax()}}/{{MLGraphBuilder/reduceMin()}}/{{MLGraphBuilder/reduceSum()}}/{{MLGraphBuilder/reduceSumSquare()}}</caption>
8638+
<table id=tensor-limits-reduction-reducel1-reducesum-reducesumsquare class='data' link-for="MLGraphBuilder/reduceL1(input, options), MLGraphBuilder/reduceSum(input, options), MLGraphBuilder/reduceSumSquare(input, options)">
8639+
<caption>Tensor limits for {{MLGraphBuilder/reduceL1()}}/{{MLGraphBuilder/reduceSum()}}/{{MLGraphBuilder/reduceSumSquare()}}</caption>
86138640
<thead>
86148641
<tr>
86158642
<th>operand</th>
@@ -8621,7 +8648,7 @@ partial dictionary MLOpSupportLimits {
86218648
</thead>
86228649
<tr>
86238650
<td>{{input}}</td>
8624-
<td>specified as part of operation steps</td>
8651+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}}</td>
86258652
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
86268653
<td>[=/any rank|N=]</td>
86278654
<td>0 to 5</td>
@@ -8635,8 +8662,8 @@ partial dictionary MLOpSupportLimits {
86358662
</tr>
86368663
</table>
86378664

8638-
<table id=tensor-limits-reduction-reducel2-reducelogsum-reducelogsumexp-reducemean-reduceproduct class='data' link-for="MLGraphBuilder/reduceL2(input, options), MLGraphBuilder/reduceLogSum(input, options), MLGraphBuilder/reduceLogSumExp(input, options), MLGraphBuilder/reduceMean(input, options), MLGraphBuilder/reduceProduct(input, options)">
8639-
<caption>Tensor limits for {{MLGraphBuilder/reduceL2()}}/{{MLGraphBuilder/reduceLogSum()}}/{{MLGraphBuilder/reduceLogSumExp()}}/{{MLGraphBuilder/reduceMean()}}/{{MLGraphBuilder/reduceProduct()}}</caption>
8665+
<table id=tensor-limits-reduction-reducel2-reducelogsum-reducelogsumexp-reducemean class='data' link-for="MLGraphBuilder/reduceL2(input, options), MLGraphBuilder/reduceLogSum(input, options), MLGraphBuilder/reduceLogSumExp(input, options), MLGraphBuilder/reduceMean(input, options)">
8666+
<caption>Tensor limits for {{MLGraphBuilder/reduceL2()}}/{{MLGraphBuilder/reduceLogSum()}}/{{MLGraphBuilder/reduceLogSumExp()}}/{{MLGraphBuilder/reduceMean()}}</caption>
86408667
<thead>
86418668
<tr>
86428669
<th>operand</th>
@@ -8648,7 +8675,61 @@ partial dictionary MLOpSupportLimits {
86488675
</thead>
86498676
<tr>
86508677
<td>{{input}}</td>
8651-
<td>specified as part of operation steps</td>
8678+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8679+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8680+
<td>[=/any rank|N=]</td>
8681+
<td>0 to 5</td>
8682+
</tr>
8683+
<tr>
8684+
<td>*output*</td>
8685+
<td>[=/same type as|same as=] {{input}}</td>
8686+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8687+
<td>[=/any rank|N=]</td>
8688+
<td>0 to 5</td>
8689+
</tr>
8690+
</table>
8691+
8692+
<table id=tensor-limits-reduction-reducemax-reducemin class='data' link-for="MLGraphBuilder/reduceMax(input, options), MLGraphBuilder/reduceMin(input, options)">
8693+
<caption>Tensor limits for {{MLGraphBuilder/reduceMax()}}/{{MLGraphBuilder/reduceMin()}}</caption>
8694+
<thead>
8695+
<tr>
8696+
<th>operand</th>
8697+
<th>[=/allowed data types=]</th>
8698+
<th>[=/required data types=]</th>
8699+
<th>[=/allowed ranks=]</th>
8700+
<th>[=/required ranks=]</th>
8701+
</tr>
8702+
</thead>
8703+
<tr>
8704+
<td>{{input}}</td>
8705+
<td>[=/any data type|any=]</td>
8706+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
8707+
<td>[=/any rank|N=]</td>
8708+
<td>0 to 5</td>
8709+
</tr>
8710+
<tr>
8711+
<td>*output*</td>
8712+
<td>[=/same type as|same as=] {{input}}</td>
8713+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
8714+
<td>[=/any rank|N=]</td>
8715+
<td>0 to 5</td>
8716+
</tr>
8717+
</table>
8718+
8719+
<table id=tensor-limits-reduction-reduceproduct class='data' link-for="MLGraphBuilder/reduceProduct(input, options)">
8720+
<caption>Tensor limits for {{MLGraphBuilder/reduceProduct()}}</caption>
8721+
<thead>
8722+
<tr>
8723+
<th>operand</th>
8724+
<th>[=/allowed data types=]</th>
8725+
<th>[=/required data types=]</th>
8726+
<th>[=/allowed ranks=]</th>
8727+
<th>[=/required ranks=]</th>
8728+
</tr>
8729+
</thead>
8730+
<tr>
8731+
<td>{{input}}</td>
8732+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}}</td>
86528733
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
86538734
<td>[=/any rank|N=]</td>
86548735
<td>0 to 5</td>

0 commit comments

Comments
 (0)