Skip to content

Commit b6b300f

Browse files
committed
update l2Pool2d and separate tables of listing input data types
1 parent 2f9cd76 commit b6b300f

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
@@ -4074,8 +4074,8 @@ partial dictionary MLOpSupportLimits {
40744074
tensor is the same as the shape of input tensor.
40754075
</div>
40764076

4077-
<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)">
4078-
<caption>Tensor limits for {{MLGraphBuilder/abs()}}/{{MLGraphBuilder/identity()}}/{{MLGraphBuilder/neg()}}</caption>
4077+
<table id=tensor-limits-elementwise-unary-abs-neg class='data' link-for="MLGraphBuilder/abs(input, options), MLGraphBuilder/neg(input, options)">
4078+
<caption>Tensor limits for {{MLGraphBuilder/abs()}}/{{MLGraphBuilder/neg()}}</caption>
40794079
<thead>
40804080
<tr>
40814081
<th>operand</th>
@@ -4087,7 +4087,7 @@ partial dictionary MLOpSupportLimits {
40874087
</thead>
40884088
<tr>
40894089
<td>{{input}}</td>
4090-
<td>specified as part of operation steps</td>
4090+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"int8"}}</td>
40914091
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
40924092
<td>[=/any rank|N=]</td>
40934093
<td>0 to 5</td>
@@ -4114,7 +4114,7 @@ partial dictionary MLOpSupportLimits {
41144114
</thead>
41154115
<tr>
41164116
<td>{{input}}</td>
4117-
<td>specified as part of operation steps</td>
4117+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
41184118
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
41194119
<td>[=/any rank|N=]</td>
41204120
<td>0 to 5</td>
@@ -4128,6 +4128,33 @@ partial dictionary MLOpSupportLimits {
41284128
</tr>
41294129
</table>
41304130

4131+
<table id=tensor-limits-elementwise-unary-identity class='data' link-for="MLGraphBuilder/identity(input, options)">
4132+
<caption>Tensor limits for {{MLGraphBuilder/identity()}}</caption>
4133+
<thead>
4134+
<tr>
4135+
<th>operand</th>
4136+
<th>[=/allowed data types=]</th>
4137+
<th>[=/required data types=]</th>
4138+
<th>[=/allowed ranks=]</th>
4139+
<th>[=/required ranks=]</th>
4140+
</tr>
4141+
</thead>
4142+
<tr>
4143+
<td>{{input}}</td>
4144+
<td>[=/any data type|any=]</td>
4145+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
4146+
<td>[=/any rank|N=]</td>
4147+
<td>0 to 5</td>
4148+
</tr>
4149+
<tr>
4150+
<td>*output*</td>
4151+
<td>[=/same type as|same as=] {{input}}</td>
4152+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
4153+
<td>[=/same rank as|same as=] {{input}}</td>
4154+
<td>0 to 5</td>
4155+
</tr>
4156+
</table>
4157+
41314158
<table id=tensor-limits-elementwise-unary-sign class='data' link-for="MLGraphBuilder/sign(input, options)">
41324159
<caption>Tensor limits for {{MLGraphBuilder/sign()}}</caption>
41334160
<thead>
@@ -8246,8 +8273,8 @@ partial dictionary MLOpSupportLimits {
82468273
`output size = ceil(1 + (input size - filter size + beginning padding + ending padding) / stride)`
82478274
</div>
82488275

8249-
<table id=tensor-limits-pooling-averagepool2d-maxpool2d class='data' link-for="MLGraphBuilder/averagePool2d(input, options), MLGraphBuilder/maxPool2d(input, options)">
8250-
<caption>Tensor limits for {{MLGraphBuilder/averagePool2d()}}/{{MLGraphBuilder/maxPool2d()}}</caption>
8276+
<table id=tensor-limits-pooling-averagepool2d-l2pool2d class='data' link-for="MLGraphBuilder/averagePool2d(input, options), MLGraphBuilder/l2Pool2d(input, options)">
8277+
<caption>Tensor limits for {{MLGraphBuilder/averagePool2d()}}/{{MLGraphBuilder/l2Pool2d()}}</caption>
82518278
<thead>
82528279
<tr>
82538280
<th>operand</th>
@@ -8259,7 +8286,7 @@ partial dictionary MLOpSupportLimits {
82598286
</thead>
82608287
<tr>
82618288
<td>{{input}}</td>
8262-
<td>specified as part of operation steps</td>
8289+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
82638290
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
82648291
<td>4</td>
82658292
<td>4</td>
@@ -8273,8 +8300,8 @@ partial dictionary MLOpSupportLimits {
82738300
</tr>
82748301
</table>
82758302

8276-
<table id=tensor-limits-pooling-l2pool2d class='data' link-for="MLGraphBuilder/l2Pool2d(input, options)">
8277-
<caption>Tensor limits for {{MLGraphBuilder/l2Pool2d()}}</caption>
8303+
<table id=tensor-limits-pooling-maxpool2d class='data' link-for="MLGraphBuilder/maxPool2d(input, options)">
8304+
<caption>Tensor limits for {{MLGraphBuilder/maxPool2d()}}</caption>
82788305
<thead>
82798306
<tr>
82808307
<th>operand</th>
@@ -8286,17 +8313,17 @@ partial dictionary MLOpSupportLimits {
82868313
</thead>
82878314
<tr>
82888315
<td>{{input}}</td>
8289-
<td>specified as part of operation steps</td>
8290-
<td></td>
8316+
<td>[=/any data type|any=]</td>
8317+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8318+
<td>4</td>
82918319
<td>4</td>
8292-
<td></td>
82938320
</tr>
82948321
<tr>
82958322
<td>*output*</td>
82968323
<td>[=/same type as|same as=] {{input}}</td>
8297-
<td></td>
8324+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8325+
<td>4</td>
82988326
<td>4</td>
8299-
<td></td>
83008327
</tr>
83018328
</table>
83028329

@@ -8599,8 +8626,8 @@ partial dictionary MLOpSupportLimits {
85998626
**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.
86008627
</div>
86018628

8602-
<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)">
8603-
<caption>Tensor limits for {{MLGraphBuilder/reduceL1()}}/{{MLGraphBuilder/reduceMax()}}/{{MLGraphBuilder/reduceMin()}}/{{MLGraphBuilder/reduceSum()}}/{{MLGraphBuilder/reduceSumSquare()}}</caption>
8629+
<table id=tensor-limits-reduction-reducel1-reducesum-reducesumsquare class='data' link-for="MLGraphBuilder/reduceL1(input, options), MLGraphBuilder/reduceSum(input, options), MLGraphBuilder/reduceSumSquare(input, options)">
8630+
<caption>Tensor limits for {{MLGraphBuilder/reduceL1()}}/{{MLGraphBuilder/reduceSum()}}/{{MLGraphBuilder/reduceSumSquare()}}</caption>
86048631
<thead>
86058632
<tr>
86068633
<th>operand</th>
@@ -8612,7 +8639,7 @@ partial dictionary MLOpSupportLimits {
86128639
</thead>
86138640
<tr>
86148641
<td>{{input}}</td>
8615-
<td>specified as part of operation steps</td>
8642+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}}</td>
86168643
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
86178644
<td>[=/any rank|N=]</td>
86188645
<td>0 to 5</td>
@@ -8626,8 +8653,8 @@ partial dictionary MLOpSupportLimits {
86268653
</tr>
86278654
</table>
86288655

8629-
<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)">
8630-
<caption>Tensor limits for {{MLGraphBuilder/reduceL2()}}/{{MLGraphBuilder/reduceLogSum()}}/{{MLGraphBuilder/reduceLogSumExp()}}/{{MLGraphBuilder/reduceMean()}}/{{MLGraphBuilder/reduceProduct()}}</caption>
8656+
<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)">
8657+
<caption>Tensor limits for {{MLGraphBuilder/reduceL2()}}/{{MLGraphBuilder/reduceLogSum()}}/{{MLGraphBuilder/reduceLogSumExp()}}/{{MLGraphBuilder/reduceMean()}}</caption>
86318658
<thead>
86328659
<tr>
86338660
<th>operand</th>
@@ -8639,7 +8666,61 @@ partial dictionary MLOpSupportLimits {
86398666
</thead>
86408667
<tr>
86418668
<td>{{input}}</td>
8642-
<td>specified as part of operation steps</td>
8669+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8670+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8671+
<td>[=/any rank|N=]</td>
8672+
<td>0 to 5</td>
8673+
</tr>
8674+
<tr>
8675+
<td>*output*</td>
8676+
<td>[=/same type as|same as=] {{input}}</td>
8677+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
8678+
<td>[=/any rank|N=]</td>
8679+
<td>0 to 5</td>
8680+
</tr>
8681+
</table>
8682+
8683+
<table id=tensor-limits-reduction-reducemax-reducemin class='data' link-for="MLGraphBuilder/reduceMax(input, options), MLGraphBuilder/reduceMin(input, options)">
8684+
<caption>Tensor limits for {{MLGraphBuilder/reduceMax()}}/{{MLGraphBuilder/reduceMin()}}</caption>
8685+
<thead>
8686+
<tr>
8687+
<th>operand</th>
8688+
<th>[=/allowed data types=]</th>
8689+
<th>[=/required data types=]</th>
8690+
<th>[=/allowed ranks=]</th>
8691+
<th>[=/required ranks=]</th>
8692+
</tr>
8693+
</thead>
8694+
<tr>
8695+
<td>{{input}}</td>
8696+
<td>[=/any data type|any=]</td>
8697+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
8698+
<td>[=/any rank|N=]</td>
8699+
<td>0 to 5</td>
8700+
</tr>
8701+
<tr>
8702+
<td>*output*</td>
8703+
<td>[=/same type as|same as=] {{input}}</td>
8704+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}</td>
8705+
<td>[=/any rank|N=]</td>
8706+
<td>0 to 5</td>
8707+
</tr>
8708+
</table>
8709+
8710+
<table id=tensor-limits-reduction-reduceproduct class='data' link-for="MLGraphBuilder/reduceProduct(input, options)">
8711+
<caption>Tensor limits for {{MLGraphBuilder/reduceProduct()}}</caption>
8712+
<thead>
8713+
<tr>
8714+
<th>operand</th>
8715+
<th>[=/allowed data types=]</th>
8716+
<th>[=/required data types=]</th>
8717+
<th>[=/allowed ranks=]</th>
8718+
<th>[=/required ranks=]</th>
8719+
</tr>
8720+
</thead>
8721+
<tr>
8722+
<td>{{input}}</td>
8723+
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}}</td>
86438724
<td>{{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}</td>
86448725
<td>[=/any rank|N=]</td>
86458726
<td>0 to 5</td>

0 commit comments

Comments
 (0)