@webref/idl 3.53.0 → 3.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fenced-frame.idl +0 -9
- package/package.json +1 -1
- package/turtledove.idl +3 -4
- package/webgpu.idl +1 -0
- package/webnn.idl +339 -0
package/fenced-frame.idl
CHANGED
|
@@ -16,18 +16,9 @@ interface HTMLFencedFrameElement : HTMLElement {
|
|
|
16
16
|
|
|
17
17
|
enum OpaqueProperty {"opaque"};
|
|
18
18
|
|
|
19
|
-
typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
|
|
20
|
-
typedef USVString FencedFrameConfigURL;
|
|
21
|
-
|
|
22
19
|
[Exposed=Window, Serializable]
|
|
23
20
|
interface FencedFrameConfig {
|
|
24
21
|
constructor(USVString url);
|
|
25
|
-
|
|
26
|
-
readonly attribute FencedFrameConfigSize? containerWidth;
|
|
27
|
-
readonly attribute FencedFrameConfigSize? containerHeight;
|
|
28
|
-
readonly attribute FencedFrameConfigSize? contentWidth;
|
|
29
|
-
readonly attribute FencedFrameConfigSize? contentHeight;
|
|
30
|
-
|
|
31
22
|
undefined setSharedStorageContext(DOMString contextString);
|
|
32
23
|
};
|
|
33
24
|
|
package/package.json
CHANGED
package/turtledove.idl
CHANGED
|
@@ -16,6 +16,7 @@ dictionary AuctionAd {
|
|
|
16
16
|
USVString buyerReportingId;
|
|
17
17
|
USVString buyerAndSellerReportingId;
|
|
18
18
|
sequence<USVString> allowedReportingOrigins;
|
|
19
|
+
DOMString adRenderId;
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
dictionary AuctionAdInterestGroupSize {
|
|
@@ -239,10 +240,8 @@ partial interface HTMLIFrameElement {
|
|
|
239
240
|
[CEReactions] attribute boolean adAuctionHeaders;
|
|
240
241
|
};
|
|
241
242
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
required DOMString adJSON;
|
|
245
|
-
};
|
|
243
|
+
typedef (long long or AuctionAd) PreviousWinElement;
|
|
244
|
+
typedef sequence<PreviousWinElement> PreviousWin;
|
|
246
245
|
|
|
247
246
|
dictionary BiddingBrowserSignals {
|
|
248
247
|
required DOMString topWindowHostname;
|
package/webgpu.idl
CHANGED
|
@@ -255,6 +255,7 @@ dictionary GPUTextureViewDescriptor
|
|
|
255
255
|
: GPUObjectDescriptorBase {
|
|
256
256
|
GPUTextureFormat format;
|
|
257
257
|
GPUTextureViewDimension dimension;
|
|
258
|
+
GPUTextureUsageFlags usage = 0;
|
|
258
259
|
GPUTextureAspect aspect = "all";
|
|
259
260
|
GPUIntegerCoordinate baseMipLevel = 0;
|
|
260
261
|
GPUIntegerCoordinate mipLevelCount;
|
package/webnn.idl
CHANGED
|
@@ -43,6 +43,30 @@ dictionary MLComputeResult {
|
|
|
43
43
|
interface MLContext {
|
|
44
44
|
Promise<MLComputeResult> compute(
|
|
45
45
|
MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
|
|
46
|
+
|
|
47
|
+
MLOpSupportLimits opSupportLimits();
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
dictionary MLOpSupportLimits {
|
|
51
|
+
MLInputOperandLayout preferredInputLayout;
|
|
52
|
+
MLSupportLimits input;
|
|
53
|
+
MLSupportLimits constant;
|
|
54
|
+
MLSupportLimits output;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
dictionary MLSupportLimits {
|
|
58
|
+
sequence<MLOperandDataType> dataTypes;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
dictionary MLBinarySupportLimits {
|
|
62
|
+
MLSupportLimits a;
|
|
63
|
+
MLSupportLimits b;
|
|
64
|
+
MLSupportLimits output;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
dictionary MLSingleInputSupportLimits {
|
|
68
|
+
MLSupportLimits input;
|
|
69
|
+
MLSupportLimits output;
|
|
46
70
|
};
|
|
47
71
|
|
|
48
72
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
@@ -113,6 +137,11 @@ partial interface MLGraphBuilder {
|
|
|
113
137
|
optional MLArgMinMaxOptions options = {});
|
|
114
138
|
};
|
|
115
139
|
|
|
140
|
+
partial dictionary MLOpSupportLimits {
|
|
141
|
+
MLSingleInputSupportLimits argMin;
|
|
142
|
+
MLSingleInputSupportLimits argMax;
|
|
143
|
+
};
|
|
144
|
+
|
|
116
145
|
dictionary MLBatchNormalizationOptions : MLOperatorOptions {
|
|
117
146
|
MLOperand scale;
|
|
118
147
|
MLOperand bias;
|
|
@@ -125,12 +154,29 @@ partial interface MLGraphBuilder {
|
|
|
125
154
|
optional MLBatchNormalizationOptions options = {});
|
|
126
155
|
};
|
|
127
156
|
|
|
157
|
+
dictionary MLBatchNormalizationSupportLimits {
|
|
158
|
+
MLSupportLimits input;
|
|
159
|
+
MLSupportLimits mean;
|
|
160
|
+
MLSupportLimits variance;
|
|
161
|
+
MLSupportLimits scale;
|
|
162
|
+
MLSupportLimits bias;
|
|
163
|
+
MLSupportLimits output;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
partial dictionary MLOpSupportLimits {
|
|
167
|
+
MLBatchNormalizationSupportLimits batchNormalization;
|
|
168
|
+
};
|
|
169
|
+
|
|
128
170
|
partial interface MLGraphBuilder {
|
|
129
171
|
MLOperand cast(MLOperand input,
|
|
130
172
|
MLOperandDataType type,
|
|
131
173
|
optional MLOperatorOptions options = {});
|
|
132
174
|
};
|
|
133
175
|
|
|
176
|
+
partial dictionary MLOpSupportLimits {
|
|
177
|
+
MLSingleInputSupportLimits cast;
|
|
178
|
+
};
|
|
179
|
+
|
|
134
180
|
dictionary MLClampOptions : MLOperatorOptions {
|
|
135
181
|
MLNumber minValue;
|
|
136
182
|
MLNumber maxValue;
|
|
@@ -140,12 +186,25 @@ partial interface MLGraphBuilder {
|
|
|
140
186
|
MLOperand clamp(MLOperand input, optional MLClampOptions options = {});
|
|
141
187
|
};
|
|
142
188
|
|
|
189
|
+
partial dictionary MLOpSupportLimits {
|
|
190
|
+
MLSingleInputSupportLimits clamp;
|
|
191
|
+
};
|
|
192
|
+
|
|
143
193
|
partial interface MLGraphBuilder {
|
|
144
194
|
MLOperand concat(sequence<MLOperand> inputs,
|
|
145
195
|
[EnforceRange] unsigned long axis,
|
|
146
196
|
optional MLOperatorOptions options = {});
|
|
147
197
|
};
|
|
148
198
|
|
|
199
|
+
dictionary MLConcatSupportLimits {
|
|
200
|
+
MLSupportLimits inputs;
|
|
201
|
+
MLSupportLimits output;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
partial dictionary MLOpSupportLimits {
|
|
205
|
+
MLConcatSupportLimits concat;
|
|
206
|
+
};
|
|
207
|
+
|
|
149
208
|
enum MLConv2dFilterOperandLayout {
|
|
150
209
|
"oihw",
|
|
151
210
|
"hwio",
|
|
@@ -169,6 +228,17 @@ partial interface MLGraphBuilder {
|
|
|
169
228
|
optional MLConv2dOptions options = {});
|
|
170
229
|
};
|
|
171
230
|
|
|
231
|
+
dictionary MLConv2dSupportLimits {
|
|
232
|
+
MLSupportLimits input;
|
|
233
|
+
MLSupportLimits filter;
|
|
234
|
+
MLSupportLimits bias;
|
|
235
|
+
MLSupportLimits output;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
partial dictionary MLOpSupportLimits {
|
|
239
|
+
MLConv2dSupportLimits conv2d;
|
|
240
|
+
};
|
|
241
|
+
|
|
172
242
|
enum MLConvTranspose2dFilterOperandLayout {
|
|
173
243
|
"iohw",
|
|
174
244
|
"hwoi",
|
|
@@ -192,6 +262,10 @@ partial interface MLGraphBuilder {
|
|
|
192
262
|
optional MLConvTranspose2dOptions options = {});
|
|
193
263
|
};
|
|
194
264
|
|
|
265
|
+
partial dictionary MLOpSupportLimits {
|
|
266
|
+
MLConv2dSupportLimits convTranspose2d;
|
|
267
|
+
};
|
|
268
|
+
|
|
195
269
|
partial interface MLGraphBuilder {
|
|
196
270
|
MLOperand add(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
197
271
|
MLOperand sub(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
@@ -202,6 +276,16 @@ partial interface MLGraphBuilder {
|
|
|
202
276
|
MLOperand pow(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
203
277
|
};
|
|
204
278
|
|
|
279
|
+
partial dictionary MLOpSupportLimits {
|
|
280
|
+
MLBinarySupportLimits add;
|
|
281
|
+
MLBinarySupportLimits sub;
|
|
282
|
+
MLBinarySupportLimits mul;
|
|
283
|
+
MLBinarySupportLimits div;
|
|
284
|
+
MLBinarySupportLimits max;
|
|
285
|
+
MLBinarySupportLimits min;
|
|
286
|
+
MLBinarySupportLimits pow;
|
|
287
|
+
};
|
|
288
|
+
|
|
205
289
|
partial interface MLGraphBuilder {
|
|
206
290
|
MLOperand equal(MLOperand a,
|
|
207
291
|
MLOperand b,
|
|
@@ -221,6 +305,20 @@ partial interface MLGraphBuilder {
|
|
|
221
305
|
MLOperand logicalNot(MLOperand a, optional MLOperatorOptions options = {});
|
|
222
306
|
};
|
|
223
307
|
|
|
308
|
+
dictionary MLLogicalNotSupportLimits {
|
|
309
|
+
MLSupportLimits a;
|
|
310
|
+
MLSupportLimits output;
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
partial dictionary MLOpSupportLimits {
|
|
314
|
+
MLBinarySupportLimits equal;
|
|
315
|
+
MLBinarySupportLimits greater;
|
|
316
|
+
MLBinarySupportLimits greaterOrEqual;
|
|
317
|
+
MLBinarySupportLimits lesser;
|
|
318
|
+
MLBinarySupportLimits lesserOrEqual;
|
|
319
|
+
MLLogicalNotSupportLimits logicalNot;
|
|
320
|
+
};
|
|
321
|
+
|
|
224
322
|
partial interface MLGraphBuilder {
|
|
225
323
|
MLOperand abs(MLOperand input, optional MLOperatorOptions options = {});
|
|
226
324
|
MLOperand ceil(MLOperand input, optional MLOperatorOptions options = {});
|
|
@@ -237,6 +335,22 @@ partial interface MLGraphBuilder {
|
|
|
237
335
|
MLOperand tan(MLOperand input, optional MLOperatorOptions options = {});
|
|
238
336
|
};
|
|
239
337
|
|
|
338
|
+
partial dictionary MLOpSupportLimits {
|
|
339
|
+
MLSingleInputSupportLimits abs;
|
|
340
|
+
MLSingleInputSupportLimits ceil;
|
|
341
|
+
MLSingleInputSupportLimits cos;
|
|
342
|
+
MLSingleInputSupportLimits erf;
|
|
343
|
+
MLSingleInputSupportLimits exp;
|
|
344
|
+
MLSingleInputSupportLimits floor;
|
|
345
|
+
MLSingleInputSupportLimits identity;
|
|
346
|
+
MLSingleInputSupportLimits log;
|
|
347
|
+
MLSingleInputSupportLimits neg;
|
|
348
|
+
MLSingleInputSupportLimits reciprocal;
|
|
349
|
+
MLSingleInputSupportLimits sin;
|
|
350
|
+
MLSingleInputSupportLimits sqrt;
|
|
351
|
+
MLSingleInputSupportLimits tan;
|
|
352
|
+
};
|
|
353
|
+
|
|
240
354
|
dictionary MLEluOptions : MLOperatorOptions {
|
|
241
355
|
double alpha = 1;
|
|
242
356
|
};
|
|
@@ -245,12 +359,20 @@ partial interface MLGraphBuilder {
|
|
|
245
359
|
MLOperand elu(MLOperand input, optional MLEluOptions options = {});
|
|
246
360
|
};
|
|
247
361
|
|
|
362
|
+
partial dictionary MLOpSupportLimits {
|
|
363
|
+
MLSingleInputSupportLimits elu;
|
|
364
|
+
};
|
|
365
|
+
|
|
248
366
|
partial interface MLGraphBuilder {
|
|
249
367
|
MLOperand expand(MLOperand input,
|
|
250
368
|
sequence<[EnforceRange] unsigned long> newShape,
|
|
251
369
|
optional MLOperatorOptions options = {});
|
|
252
370
|
};
|
|
253
371
|
|
|
372
|
+
partial dictionary MLOpSupportLimits {
|
|
373
|
+
MLSingleInputSupportLimits expand;
|
|
374
|
+
};
|
|
375
|
+
|
|
254
376
|
dictionary MLGatherOptions : MLOperatorOptions {
|
|
255
377
|
[EnforceRange] unsigned long axis = 0;
|
|
256
378
|
};
|
|
@@ -261,10 +383,24 @@ partial interface MLGraphBuilder {
|
|
|
261
383
|
optional MLGatherOptions options = {});
|
|
262
384
|
};
|
|
263
385
|
|
|
386
|
+
dictionary MLGatherSupportLimits {
|
|
387
|
+
MLSupportLimits input;
|
|
388
|
+
MLSupportLimits indices;
|
|
389
|
+
MLSupportLimits output;
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
partial dictionary MLOpSupportLimits {
|
|
393
|
+
MLGatherSupportLimits gather;
|
|
394
|
+
};
|
|
395
|
+
|
|
264
396
|
partial interface MLGraphBuilder {
|
|
265
397
|
MLOperand gelu(MLOperand input, optional MLOperatorOptions options = {});
|
|
266
398
|
};
|
|
267
399
|
|
|
400
|
+
partial dictionary MLOpSupportLimits {
|
|
401
|
+
MLSingleInputSupportLimits gelu;
|
|
402
|
+
};
|
|
403
|
+
|
|
268
404
|
dictionary MLGemmOptions : MLOperatorOptions {
|
|
269
405
|
MLOperand c;
|
|
270
406
|
double alpha = 1.0;
|
|
@@ -277,6 +413,17 @@ partial interface MLGraphBuilder {
|
|
|
277
413
|
MLOperand gemm(MLOperand a, MLOperand b, optional MLGemmOptions options = {});
|
|
278
414
|
};
|
|
279
415
|
|
|
416
|
+
dictionary MLGemmSupportLimits {
|
|
417
|
+
MLSupportLimits a;
|
|
418
|
+
MLSupportLimits b;
|
|
419
|
+
MLSupportLimits c;
|
|
420
|
+
MLSupportLimits output;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
partial dictionary MLOpSupportLimits {
|
|
424
|
+
MLGemmSupportLimits gemm;
|
|
425
|
+
};
|
|
426
|
+
|
|
280
427
|
enum MLGruWeightLayout {
|
|
281
428
|
"zrn", // update-reset-new gate ordering
|
|
282
429
|
"rzn" // reset-update-new gate ordering
|
|
@@ -314,6 +461,20 @@ partial interface MLGraphBuilder {
|
|
|
314
461
|
optional MLGruOptions options = {});
|
|
315
462
|
};
|
|
316
463
|
|
|
464
|
+
dictionary MLGruSupportLimits {
|
|
465
|
+
MLSupportLimits input;
|
|
466
|
+
MLSupportLimits weight;
|
|
467
|
+
MLSupportLimits recurrentWeight;
|
|
468
|
+
MLSupportLimits bias;
|
|
469
|
+
MLSupportLimits recurrentBias;
|
|
470
|
+
MLSupportLimits initialHiddenState;
|
|
471
|
+
MLSupportLimits outputs;
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
partial dictionary MLOpSupportLimits {
|
|
475
|
+
MLGruSupportLimits gru;
|
|
476
|
+
};
|
|
477
|
+
|
|
317
478
|
dictionary MLGruCellOptions : MLOperatorOptions {
|
|
318
479
|
MLOperand bias;
|
|
319
480
|
MLOperand recurrentBias;
|
|
@@ -331,6 +492,20 @@ partial interface MLGraphBuilder {
|
|
|
331
492
|
optional MLGruCellOptions options = {});
|
|
332
493
|
};
|
|
333
494
|
|
|
495
|
+
dictionary MLGruCellSupportLimits {
|
|
496
|
+
MLSupportLimits input;
|
|
497
|
+
MLSupportLimits weight;
|
|
498
|
+
MLSupportLimits recurrentWeight;
|
|
499
|
+
MLSupportLimits hiddenState;
|
|
500
|
+
MLSupportLimits bias;
|
|
501
|
+
MLSupportLimits recurrentBias;
|
|
502
|
+
MLSupportLimits output;
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
partial dictionary MLOpSupportLimits {
|
|
506
|
+
MLGruCellSupportLimits gruCell;
|
|
507
|
+
};
|
|
508
|
+
|
|
334
509
|
dictionary MLHardSigmoidOptions : MLOperatorOptions {
|
|
335
510
|
double alpha = 0.2;
|
|
336
511
|
double beta = 0.5;
|
|
@@ -340,10 +515,18 @@ partial interface MLGraphBuilder {
|
|
|
340
515
|
MLOperand hardSigmoid(MLOperand input, optional MLHardSigmoidOptions options = {});
|
|
341
516
|
};
|
|
342
517
|
|
|
518
|
+
partial dictionary MLOpSupportLimits {
|
|
519
|
+
MLSingleInputSupportLimits hardSigmoid;
|
|
520
|
+
};
|
|
521
|
+
|
|
343
522
|
partial interface MLGraphBuilder {
|
|
344
523
|
MLOperand hardSwish(MLOperand input, optional MLOperatorOptions options = {});
|
|
345
524
|
};
|
|
346
525
|
|
|
526
|
+
partial dictionary MLOpSupportLimits {
|
|
527
|
+
MLSingleInputSupportLimits hardSwish;
|
|
528
|
+
};
|
|
529
|
+
|
|
347
530
|
dictionary MLInstanceNormalizationOptions : MLOperatorOptions {
|
|
348
531
|
MLOperand scale;
|
|
349
532
|
MLOperand bias;
|
|
@@ -356,6 +539,17 @@ partial interface MLGraphBuilder {
|
|
|
356
539
|
optional MLInstanceNormalizationOptions options = {});
|
|
357
540
|
};
|
|
358
541
|
|
|
542
|
+
dictionary MLNormalizationSupportLimits {
|
|
543
|
+
MLSupportLimits input;
|
|
544
|
+
MLSupportLimits scale;
|
|
545
|
+
MLSupportLimits bias;
|
|
546
|
+
MLSupportLimits output;
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
partial dictionary MLOpSupportLimits {
|
|
550
|
+
MLNormalizationSupportLimits instanceNormalization;
|
|
551
|
+
};
|
|
552
|
+
|
|
359
553
|
dictionary MLLayerNormalizationOptions : MLOperatorOptions {
|
|
360
554
|
MLOperand scale;
|
|
361
555
|
MLOperand bias;
|
|
@@ -368,6 +562,10 @@ partial interface MLGraphBuilder {
|
|
|
368
562
|
optional MLLayerNormalizationOptions options = {});
|
|
369
563
|
};
|
|
370
564
|
|
|
565
|
+
partial dictionary MLOpSupportLimits {
|
|
566
|
+
MLNormalizationSupportLimits layerNormalization;
|
|
567
|
+
};
|
|
568
|
+
|
|
371
569
|
dictionary MLLeakyReluOptions : MLOperatorOptions {
|
|
372
570
|
double alpha = 0.01;
|
|
373
571
|
};
|
|
@@ -376,6 +574,10 @@ partial interface MLGraphBuilder {
|
|
|
376
574
|
MLOperand leakyRelu(MLOperand input, optional MLLeakyReluOptions options = {});
|
|
377
575
|
};
|
|
378
576
|
|
|
577
|
+
partial dictionary MLOpSupportLimits {
|
|
578
|
+
MLSingleInputSupportLimits leakyRelu;
|
|
579
|
+
};
|
|
580
|
+
|
|
379
581
|
dictionary MLLinearOptions : MLOperatorOptions {
|
|
380
582
|
double alpha = 1;
|
|
381
583
|
double beta = 0;
|
|
@@ -385,6 +587,10 @@ partial interface MLGraphBuilder {
|
|
|
385
587
|
MLOperand linear(MLOperand input, optional MLLinearOptions options = {});
|
|
386
588
|
};
|
|
387
589
|
|
|
590
|
+
partial dictionary MLOpSupportLimits {
|
|
591
|
+
MLSingleInputSupportLimits linear;
|
|
592
|
+
};
|
|
593
|
+
|
|
388
594
|
enum MLLstmWeightLayout {
|
|
389
595
|
"iofg", // input-output-forget-cell gate ordering
|
|
390
596
|
"ifgo" // input-forget-cell-output gate ordering
|
|
@@ -411,6 +617,22 @@ partial interface MLGraphBuilder {
|
|
|
411
617
|
optional MLLstmOptions options = {});
|
|
412
618
|
};
|
|
413
619
|
|
|
620
|
+
dictionary MLLstmSupportLimits {
|
|
621
|
+
MLSupportLimits input;
|
|
622
|
+
MLSupportLimits weight;
|
|
623
|
+
MLSupportLimits recurrentWeight;
|
|
624
|
+
MLSupportLimits bias;
|
|
625
|
+
MLSupportLimits recurrentBias;
|
|
626
|
+
MLSupportLimits peepholeWeight;
|
|
627
|
+
MLSupportLimits initialHiddenState;
|
|
628
|
+
MLSupportLimits initialCellState;
|
|
629
|
+
MLSupportLimits outputs;
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
partial dictionary MLOpSupportLimits {
|
|
633
|
+
MLLstmSupportLimits lstm;
|
|
634
|
+
};
|
|
635
|
+
|
|
414
636
|
dictionary MLLstmCellOptions : MLOperatorOptions {
|
|
415
637
|
MLOperand bias;
|
|
416
638
|
MLOperand recurrentBias;
|
|
@@ -429,10 +651,30 @@ partial interface MLGraphBuilder {
|
|
|
429
651
|
optional MLLstmCellOptions options = {});
|
|
430
652
|
};
|
|
431
653
|
|
|
654
|
+
dictionary MLLstmCellSupportLimits {
|
|
655
|
+
MLSupportLimits input;
|
|
656
|
+
MLSupportLimits weight;
|
|
657
|
+
MLSupportLimits recurrentWeight;
|
|
658
|
+
MLSupportLimits hiddenState;
|
|
659
|
+
MLSupportLimits cellState;
|
|
660
|
+
MLSupportLimits bias;
|
|
661
|
+
MLSupportLimits recurrentBias;
|
|
662
|
+
MLSupportLimits peepholeWeight;
|
|
663
|
+
MLSupportLimits outputs;
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
partial dictionary MLOpSupportLimits {
|
|
667
|
+
MLLstmCellSupportLimits lstmCell;
|
|
668
|
+
};
|
|
669
|
+
|
|
432
670
|
partial interface MLGraphBuilder {
|
|
433
671
|
MLOperand matmul(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
434
672
|
};
|
|
435
673
|
|
|
674
|
+
partial dictionary MLOpSupportLimits {
|
|
675
|
+
MLBinarySupportLimits matmul;
|
|
676
|
+
};
|
|
677
|
+
|
|
436
678
|
enum MLPaddingMode {
|
|
437
679
|
"constant",
|
|
438
680
|
"edge",
|
|
@@ -452,6 +694,10 @@ partial interface MLGraphBuilder {
|
|
|
452
694
|
optional MLPadOptions options = {});
|
|
453
695
|
};
|
|
454
696
|
|
|
697
|
+
partial dictionary MLOpSupportLimits {
|
|
698
|
+
MLSingleInputSupportLimits pad;
|
|
699
|
+
};
|
|
700
|
+
|
|
455
701
|
enum MLRoundingType {
|
|
456
702
|
"floor",
|
|
457
703
|
"ceil"
|
|
@@ -473,12 +719,28 @@ partial interface MLGraphBuilder {
|
|
|
473
719
|
MLOperand maxPool2d(MLOperand input, optional MLPool2dOptions options = {});
|
|
474
720
|
};
|
|
475
721
|
|
|
722
|
+
partial dictionary MLOpSupportLimits {
|
|
723
|
+
MLSingleInputSupportLimits averagePool2d;
|
|
724
|
+
MLSingleInputSupportLimits l2Pool2d;
|
|
725
|
+
MLSingleInputSupportLimits maxPool2d;
|
|
726
|
+
};
|
|
727
|
+
|
|
476
728
|
partial interface MLGraphBuilder {
|
|
477
729
|
MLOperand prelu(MLOperand input,
|
|
478
730
|
MLOperand slope,
|
|
479
731
|
optional MLOperatorOptions options = {});
|
|
480
732
|
};
|
|
481
733
|
|
|
734
|
+
dictionary MLPreluSupportLimits {
|
|
735
|
+
MLSupportLimits input;
|
|
736
|
+
MLSupportLimits slope;
|
|
737
|
+
MLSupportLimits output;
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
partial dictionary MLOpSupportLimits {
|
|
741
|
+
MLPreluSupportLimits prelu;
|
|
742
|
+
};
|
|
743
|
+
|
|
482
744
|
dictionary MLReduceOptions : MLOperatorOptions {
|
|
483
745
|
sequence<[EnforceRange] unsigned long> axes;
|
|
484
746
|
boolean keepDimensions = false;
|
|
@@ -497,10 +759,27 @@ partial interface MLGraphBuilder {
|
|
|
497
759
|
MLOperand reduceSumSquare(MLOperand input, optional MLReduceOptions options = {});
|
|
498
760
|
};
|
|
499
761
|
|
|
762
|
+
partial dictionary MLOpSupportLimits {
|
|
763
|
+
MLSingleInputSupportLimits reduceL1;
|
|
764
|
+
MLSingleInputSupportLimits reduceL2;
|
|
765
|
+
MLSingleInputSupportLimits reduceLogSum;
|
|
766
|
+
MLSingleInputSupportLimits reduceLogSumExp;
|
|
767
|
+
MLSingleInputSupportLimits reduceMax;
|
|
768
|
+
MLSingleInputSupportLimits reduceMean;
|
|
769
|
+
MLSingleInputSupportLimits reduceMin;
|
|
770
|
+
MLSingleInputSupportLimits reduceProduct;
|
|
771
|
+
MLSingleInputSupportLimits reduceSum;
|
|
772
|
+
MLSingleInputSupportLimits reduceSumSquare;
|
|
773
|
+
};
|
|
774
|
+
|
|
500
775
|
partial interface MLGraphBuilder {
|
|
501
776
|
MLOperand relu(MLOperand input, optional MLOperatorOptions options = {});
|
|
502
777
|
};
|
|
503
778
|
|
|
779
|
+
partial dictionary MLOpSupportLimits {
|
|
780
|
+
MLSingleInputSupportLimits relu;
|
|
781
|
+
};
|
|
782
|
+
|
|
504
783
|
enum MLInterpolationMode {
|
|
505
784
|
"nearest-neighbor",
|
|
506
785
|
"linear"
|
|
@@ -517,16 +796,28 @@ partial interface MLGraphBuilder {
|
|
|
517
796
|
MLOperand resample2d(MLOperand input, optional MLResample2dOptions options = {});
|
|
518
797
|
};
|
|
519
798
|
|
|
799
|
+
partial dictionary MLOpSupportLimits {
|
|
800
|
+
MLSingleInputSupportLimits resample2d;
|
|
801
|
+
};
|
|
802
|
+
|
|
520
803
|
partial interface MLGraphBuilder {
|
|
521
804
|
MLOperand reshape(MLOperand input,
|
|
522
805
|
sequence<[EnforceRange] unsigned long> newShape,
|
|
523
806
|
optional MLOperatorOptions options = {});
|
|
524
807
|
};
|
|
525
808
|
|
|
809
|
+
partial dictionary MLOpSupportLimits {
|
|
810
|
+
MLSingleInputSupportLimits reshape;
|
|
811
|
+
};
|
|
812
|
+
|
|
526
813
|
partial interface MLGraphBuilder {
|
|
527
814
|
MLOperand sigmoid(MLOperand input, optional MLOperatorOptions options = {});
|
|
528
815
|
};
|
|
529
816
|
|
|
817
|
+
partial dictionary MLOpSupportLimits {
|
|
818
|
+
MLSingleInputSupportLimits sigmoid;
|
|
819
|
+
};
|
|
820
|
+
|
|
530
821
|
partial interface MLGraphBuilder {
|
|
531
822
|
MLOperand slice(MLOperand input,
|
|
532
823
|
sequence<[EnforceRange] unsigned long> starts,
|
|
@@ -534,20 +825,36 @@ partial interface MLGraphBuilder {
|
|
|
534
825
|
optional MLOperatorOptions options = {});
|
|
535
826
|
};
|
|
536
827
|
|
|
828
|
+
partial dictionary MLOpSupportLimits {
|
|
829
|
+
MLSingleInputSupportLimits slice;
|
|
830
|
+
};
|
|
831
|
+
|
|
537
832
|
partial interface MLGraphBuilder {
|
|
538
833
|
MLOperand softmax(MLOperand input,
|
|
539
834
|
[EnforceRange] unsigned long axis,
|
|
540
835
|
optional MLOperatorOptions options = {});
|
|
541
836
|
};
|
|
542
837
|
|
|
838
|
+
partial dictionary MLOpSupportLimits {
|
|
839
|
+
MLSingleInputSupportLimits softmax;
|
|
840
|
+
};
|
|
841
|
+
|
|
543
842
|
partial interface MLGraphBuilder {
|
|
544
843
|
MLOperand softplus(MLOperand input, optional MLOperatorOptions options = {});
|
|
545
844
|
};
|
|
546
845
|
|
|
846
|
+
partial dictionary MLOpSupportLimits {
|
|
847
|
+
MLSingleInputSupportLimits softplus;
|
|
848
|
+
};
|
|
849
|
+
|
|
547
850
|
partial interface MLGraphBuilder {
|
|
548
851
|
MLOperand softsign(MLOperand input, optional MLOperatorOptions options = {});
|
|
549
852
|
};
|
|
550
853
|
|
|
854
|
+
partial dictionary MLOpSupportLimits {
|
|
855
|
+
MLSingleInputSupportLimits softsign;
|
|
856
|
+
};
|
|
857
|
+
|
|
551
858
|
dictionary MLSplitOptions : MLOperatorOptions {
|
|
552
859
|
[EnforceRange] unsigned long axis = 0;
|
|
553
860
|
};
|
|
@@ -559,10 +866,23 @@ partial interface MLGraphBuilder {
|
|
|
559
866
|
optional MLSplitOptions options = {});
|
|
560
867
|
};
|
|
561
868
|
|
|
869
|
+
dictionary MLSplitSupportLimits {
|
|
870
|
+
MLSupportLimits input;
|
|
871
|
+
MLSupportLimits outputs;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
partial dictionary MLOpSupportLimits {
|
|
875
|
+
MLSingleInputSupportLimits split;
|
|
876
|
+
};
|
|
877
|
+
|
|
562
878
|
partial interface MLGraphBuilder {
|
|
563
879
|
MLOperand tanh(MLOperand input, optional MLOperatorOptions options = {});
|
|
564
880
|
};
|
|
565
881
|
|
|
882
|
+
partial dictionary MLOpSupportLimits {
|
|
883
|
+
MLSingleInputSupportLimits tanh;
|
|
884
|
+
};
|
|
885
|
+
|
|
566
886
|
dictionary MLTransposeOptions : MLOperatorOptions {
|
|
567
887
|
sequence<[EnforceRange] unsigned long> permutation;
|
|
568
888
|
};
|
|
@@ -571,6 +891,10 @@ partial interface MLGraphBuilder {
|
|
|
571
891
|
MLOperand transpose(MLOperand input, optional MLTransposeOptions options = {});
|
|
572
892
|
};
|
|
573
893
|
|
|
894
|
+
partial dictionary MLOpSupportLimits {
|
|
895
|
+
MLSingleInputSupportLimits transpose;
|
|
896
|
+
};
|
|
897
|
+
|
|
574
898
|
dictionary MLTriangularOptions : MLOperatorOptions {
|
|
575
899
|
boolean upper = true;
|
|
576
900
|
[EnforceRange] long diagonal = 0;
|
|
@@ -580,9 +904,24 @@ partial interface MLGraphBuilder {
|
|
|
580
904
|
MLOperand triangular(MLOperand input, optional MLTriangularOptions options = {});
|
|
581
905
|
};
|
|
582
906
|
|
|
907
|
+
partial dictionary MLOpSupportLimits {
|
|
908
|
+
MLSingleInputSupportLimits triangular;
|
|
909
|
+
};
|
|
910
|
+
|
|
583
911
|
partial interface MLGraphBuilder {
|
|
584
912
|
MLOperand where(MLOperand condition,
|
|
585
913
|
MLOperand trueValue,
|
|
586
914
|
MLOperand falseValue,
|
|
587
915
|
optional MLOperatorOptions options = {});
|
|
588
916
|
};
|
|
917
|
+
|
|
918
|
+
dictionary MLWhereSupportLimits {
|
|
919
|
+
MLSupportLimits condition;
|
|
920
|
+
MLSupportLimits trueValue;
|
|
921
|
+
MLSupportLimits falseValue;
|
|
922
|
+
MLSupportLimits output;
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
partial dictionary MLOpSupportLimits {
|
|
926
|
+
MLWhereSupportLimits where;
|
|
927
|
+
};
|