@@ -1261,9 +1261,6 @@ Create a named {{MLOperand}} based on a descriptor, that can be used as an input
1261
1261
<summary>
1262
1262
The <dfn method for=MLGraphBuilder>input(|name|, |descriptor|)</dfn> method steps are:
1263
1263
</summary>
1264
- <div class="note">
1265
- The permissions and context validity have been checked by [[#api-mlgraphbuilder-constructor]] steps.
1266
- </div>
1267
1264
1. If |name| is empty, then [=exception/throw=] a {{TypeError}} .
1268
1265
1. If [=MLOperandDescriptor/checking dimensions=] given |descriptor| returns false, then [=exception/throw=] a {{TypeError}} .
1269
1266
1. *Make graph connections:*
@@ -1290,9 +1287,6 @@ Create a constant {{MLOperand}} of the specified data type and shape that contai
1290
1287
<summary>
1291
1288
The <dfn method for=MLGraphBuilder>constant(|descriptor|, |bufferView|)</dfn> method steps are:
1292
1289
</summary>
1293
- <div class="note">
1294
- The permissions and context validity have been checked by [[#api-mlgraphbuilder-constructor]] steps.
1295
- </div>
1296
1290
1. If [=MLOperandDescriptor/checking dimensions=] given |descriptor| returns false, then [=exception/throw=] a {{TypeError}} .
1297
1291
1. If [=validating buffer with descriptor=] given |bufferView| and |descriptor| returns false, then [=exception/throw=] a {{TypeError}} .
1298
1292
1. *Make graph connections:*
@@ -1320,9 +1314,6 @@ Data truncation will occur when the specified value exceeds the range of the spe
1320
1314
<summary>
1321
1315
The <dfn method for=MLGraphBuilder>constant(|value|, |type|)</dfn> method steps are:
1322
1316
</summary>
1323
- <div class="note">
1324
- The permissions and context validity have been checked by [[#api-mlgraphbuilder-constructor]] steps.
1325
- </div>
1326
1317
1. Let |descriptor| be a new {{MLOperandDescriptor}} .
1327
1318
1. Set |descriptor|.{{MLOperandDescriptor/dataType}} to |type|.
1328
1319
1. Set |descriptor|.{{MLOperandDescriptor/dimensions}} to an empty [=/list=] .
@@ -1352,9 +1343,6 @@ Data truncation will occur when the values in the range exceed the range of the
1352
1343
<summary>
1353
1344
The <dfn method for=MLGraphBuilder>constant(|start|, |end|, |step|, |type|)</dfn> method steps are:
1354
1345
</summary>
1355
- <div class="note">
1356
- The permissions and context validity have been checked by [[#api-mlgraphbuilder-constructor]] steps.
1357
- </div>
1358
1346
1. Let |descriptor| be a new {{MLOperandDescriptor}} .
1359
1347
1. Set |descriptor|.{{MLOperandDescriptor/dataType}} to |type|.
1360
1348
1. Let |size| be max(0, ceil((|end| - |start|)/|step|)).
@@ -1741,9 +1729,6 @@ partial interface MLGraphBuilder {
1741
1729
<summary>
1742
1730
The <dfn method for=MLGraphBuilder>concat(|inputs|, |axis|)</dfn> method steps are:
1743
1731
</summary>
1744
- <div class="note">
1745
- The permissions and context validity have been checked by [[#api-mlgraphbuilder-constructor]] steps.
1746
- </div>
1747
1732
1. If [=MLGraphBuilder/validating operand=] with [=this=] and any [=list/item=] in |inputs| returns false, then [=exception/throw=] a {{TypeError}} .
1748
1733
1. If |inputs| [=list/is empty=] , then [=exception/throw=] a {{TypeError}} .
1749
1734
1. Let |first| be |inputs|[0] .
@@ -2663,9 +2648,6 @@ partial interface MLGraphBuilder {
2663
2648
<summary>
2664
2649
The <dfn method for=MLGraphBuilder>expand(|input|, |newShape|)</dfn> method steps are:
2665
2650
</summary>
2666
- <div class="note">
2667
- The permissions and context validity have been checked by [[#api-mlgraphbuilder-constructor]] steps.
2668
- </div>
2669
2651
1. If [=MLGraphBuilder/validating operand=] with [=this=] and |input| returns false, then [=exception/throw=] a {{TypeError}} .
2670
2652
1. Let |outputDescriptor| be a new {{MLOperandDescriptor}} .
2671
2653
1. Set |outputDescriptor|.{{MLOperandDescriptor/dataType}} to |input|'s [=MLOperand/dataType=] .
0 commit comments