diff options
Diffstat (limited to 'testing/web-platform/tests/webnn/gpu')
36 files changed, 389 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webnn/gpu/arg_min_max.https.any.js b/testing/web-platform/tests/webnn/gpu/arg_min_max.https.any.js new file mode 100644 index 0000000000..76092ea92e --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/arg_min_max.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API argMin/Max operations +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-argminmax + +testWebNNOperation(['argMin', 'argMax'], buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/batch_normalization.https.any.js b/testing/web-platform/tests/webnn/gpu/batch_normalization.https.any.js new file mode 100644 index 0000000000..90b6def636 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/batch_normalization.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API batchNormalization operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-batchnorm + +testWebNNOperation('batchNormalization', buildBatchNorm, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/cast.https.any.js b/testing/web-platform/tests/webnn/gpu/cast.https.any.js new file mode 100644 index 0000000000..1830364eb5 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/cast.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API cast operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-cast + +testWebNNOperation('cast', buildCast, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/clamp.https.any.js b/testing/web-platform/tests/webnn/gpu/clamp.https.any.js new file mode 100644 index 0000000000..98313868b6 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/clamp.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API clamp operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-clamp + +testWebNNOperation('clamp', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/concat.https.any.js b/testing/web-platform/tests/webnn/gpu/concat.https.any.js new file mode 100644 index 0000000000..07073724fe --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/concat.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API concat operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-concat + +testWebNNOperation('concat', buildConcat, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/conv2d.https.any.js b/testing/web-platform/tests/webnn/gpu/conv2d.https.any.js new file mode 100644 index 0000000000..b3986b6555 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/conv2d.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API conv2d operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-conv2d + +testWebNNOperation('conv2d', buildConv2d, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/conv_transpose2d.https.any.js b/testing/web-platform/tests/webnn/gpu/conv_transpose2d.https.any.js new file mode 100644 index 0000000000..020bfa9c97 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/conv_transpose2d.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API convTranspose2d operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-convtranspose2d + +testWebNNOperation('convTranspose2d', buildConvTranspose2d, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/elementwise_binary.https.any.js b/testing/web-platform/tests/webnn/gpu/elementwise_binary.https.any.js new file mode 100644 index 0000000000..035d0c77c0 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/elementwise_binary.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API element-wise binary operations +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-binary + +testWebNNOperation(['add', 'sub', 'mul', 'div', 'max', 'min', 'pow'], buildOperationWithTwoInputs, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/elementwise_logical.https.any.js b/testing/web-platform/tests/webnn/gpu/elementwise_logical.https.any.js new file mode 100644 index 0000000000..f597ce8e0b --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/elementwise_logical.https.any.js @@ -0,0 +1,20 @@ +// META: title=test WebNN API element-wise logical operations +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-logical + +testWebNNOperation( + [ + 'equal', + 'greater', + 'greaterOrEqual', + 'lesser', + 'lesserOrEqual', + ], + buildOperationWithTwoInputs, 'gpu' +); +testWebNNOperation('logicalNot', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/elementwise_unary.https.any.js b/testing/web-platform/tests/webnn/gpu/elementwise_unary.https.any.js new file mode 100644 index 0000000000..45978f91ec --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/elementwise_unary.https.any.js @@ -0,0 +1,13 @@ +// META: title=test WebNN API element-wise unary operations +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-unary + +testWebNNOperation( + ['abs', 'ceil', 'cos', 'erf', 'exp', 'floor', 'identity', 'log', 'neg', 'reciprocal', 'sin', 'sqrt', 'tan'], + buildOperationWithSingleInput, 'gpu' +);
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/elu.https.any.js b/testing/web-platform/tests/webnn/gpu/elu.https.any.js new file mode 100644 index 0000000000..965bb4d35f --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/elu.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API elu operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-elu + +testWebNNOperation('elu', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/expand.https.any.js b/testing/web-platform/tests/webnn/gpu/expand.https.any.js new file mode 100644 index 0000000000..82fa891a39 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/expand.https.any.js @@ -0,0 +1,11 @@ +// META: title=test WebNN API expand operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-expand + +// reuse buildReshape method +testWebNNOperation('expand', buildReshape, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/gather.https.any.js b/testing/web-platform/tests/webnn/gpu/gather.https.any.js new file mode 100644 index 0000000000..7c8a685c5c --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/gather.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API gather operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-gather + +testWebNNOperation('gather', buildOperationWithTwoInputs, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/gemm.https.any.js b/testing/web-platform/tests/webnn/gpu/gemm.https.any.js new file mode 100644 index 0000000000..a19dc39bbc --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/gemm.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API gemm operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-gemm + +testWebNNOperation('gemm', buildGemm, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/hard_sigmoid.https.any.js b/testing/web-platform/tests/webnn/gpu/hard_sigmoid.https.any.js new file mode 100644 index 0000000000..b6f2f53b32 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/hard_sigmoid.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API hardSigmoid operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-hard-sigmoid + +testWebNNOperation('hardSigmoid', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/hard_swish.https.any.js b/testing/web-platform/tests/webnn/gpu/hard_swish.https.any.js new file mode 100644 index 0000000000..a1731490bd --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/hard_swish.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API tanh operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-hard-swish + +testWebNNOperation('hardSwish', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/instance_normalization.https.any.js b/testing/web-platform/tests/webnn/gpu/instance_normalization.https.any.js new file mode 100644 index 0000000000..e1d73de387 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/instance_normalization.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API instanceNormalization operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-instancenorm + +testWebNNOperation('instanceNormalization', buildLayerNorm, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/layer_normalization.https.any.js b/testing/web-platform/tests/webnn/gpu/layer_normalization.https.any.js new file mode 100644 index 0000000000..1deb43bee5 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/layer_normalization.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API layerNormalization operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-layernorm + +testWebNNOperation('layerNormalization', buildLayerNorm, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/leaky_relu.https.any.js b/testing/web-platform/tests/webnn/gpu/leaky_relu.https.any.js new file mode 100644 index 0000000000..f3a7bd8ba5 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/leaky_relu.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API leakyRelu operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-leakyrelu + +testWebNNOperation('leakyRelu', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/linear.https.any.js b/testing/web-platform/tests/webnn/gpu/linear.https.any.js new file mode 100644 index 0000000000..48b8d82c1e --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/linear.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API linear operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-linear + +testWebNNOperation('linear', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/matmul.https.any.js b/testing/web-platform/tests/webnn/gpu/matmul.https.any.js new file mode 100644 index 0000000000..01fed04e3d --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/matmul.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API matmul operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-matmul + +testWebNNOperation('matmul', buildOperationWithTwoInputs, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/pad.https.any.js b/testing/web-platform/tests/webnn/gpu/pad.https.any.js new file mode 100644 index 0000000000..26d1bf0f38 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/pad.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API pad operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-pad + +testWebNNOperation('pad', buildPad, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/pooling.https.any.js b/testing/web-platform/tests/webnn/gpu/pooling.https.any.js new file mode 100644 index 0000000000..ab12881881 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/pooling.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API pooling operations +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-pool2d + +testWebNNOperation(['averagePool2d', 'maxPool2d'], buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/prelu.https.any.js b/testing/web-platform/tests/webnn/gpu/prelu.https.any.js new file mode 100644 index 0000000000..5a1580e662 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/prelu.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API prelu operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-prelu + +testWebNNOperation('prelu', buildOperationWithTwoInputs, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/reduction.https.any.js b/testing/web-platform/tests/webnn/gpu/reduction.https.any.js new file mode 100644 index 0000000000..69f9b64df4 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/reduction.https.any.js @@ -0,0 +1,24 @@ +// META: title=test WebNN API reduction operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-reduce + +testWebNNOperation( + [ + 'reduceL1', + 'reduceL2', + 'reduceLogSum', + 'reduceLogSumExp', + 'reduceMax', + 'reduceMean', + 'reduceMin', + 'reduceProduct', + 'reduceSum', + 'reduceSumSquare', + ], + buildOperationWithSingleInput, 'gpu' +);
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/relu.https.any.js b/testing/web-platform/tests/webnn/gpu/relu.https.any.js new file mode 100644 index 0000000000..dc09846e3b --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/relu.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API relu operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-relu + +testWebNNOperation('relu', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/reshape.https.any.js b/testing/web-platform/tests/webnn/gpu/reshape.https.any.js new file mode 100644 index 0000000000..e5145e2403 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/reshape.https.any.js @@ -0,0 +1,11 @@ +// META: title=test WebNN API reshape operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-reshape + +testWebNNOperation('reshape', buildReshape, 'gpu'); + diff --git a/testing/web-platform/tests/webnn/gpu/sigmoid.https.any.js b/testing/web-platform/tests/webnn/gpu/sigmoid.https.any.js new file mode 100644 index 0000000000..6c85f5b303 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/sigmoid.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API sigmoid operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-sigmoid + +testWebNNOperation('sigmoid', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/slice.https.any.js b/testing/web-platform/tests/webnn/gpu/slice.https.any.js new file mode 100644 index 0000000000..98e5f422da --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/slice.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API slice operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-slice + +testWebNNOperation('slice', buildSlice, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/softmax.https.any.js b/testing/web-platform/tests/webnn/gpu/softmax.https.any.js new file mode 100644 index 0000000000..9170dd0e14 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/softmax.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API softmax operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-softmax + +testWebNNOperation('softmax', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/softplus.https.any.js b/testing/web-platform/tests/webnn/gpu/softplus.https.any.js new file mode 100644 index 0000000000..a61e5beaef --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/softplus.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API softplus operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-softplus + +testWebNNOperation('softplus', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/softsign.https.any.js b/testing/web-platform/tests/webnn/gpu/softsign.https.any.js new file mode 100644 index 0000000000..f598cbfcef --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/softsign.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API softsign operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-softsign + +testWebNNOperation('softsign', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/split.https.any.js b/testing/web-platform/tests/webnn/gpu/split.https.any.js new file mode 100644 index 0000000000..8eecd76fa1 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/split.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API split operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-split + +testWebNNOperation('split', buildSplit, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/tanh.https.any.js b/testing/web-platform/tests/webnn/gpu/tanh.https.any.js new file mode 100644 index 0000000000..15a9eeb013 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/tanh.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API tanh operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-tanh + +testWebNNOperation('tanh', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/transpose.https.any.js b/testing/web-platform/tests/webnn/gpu/transpose.https.any.js new file mode 100644 index 0000000000..074e18a488 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/transpose.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API transpose operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-transpose + +testWebNNOperation('transpose', buildOperationWithSingleInput, 'gpu');
\ No newline at end of file diff --git a/testing/web-platform/tests/webnn/gpu/where.https.any.js b/testing/web-platform/tests/webnn/gpu/where.https.any.js new file mode 100644 index 0000000000..ec0c5530a0 --- /dev/null +++ b/testing/web-platform/tests/webnn/gpu/where.https.any.js @@ -0,0 +1,10 @@ +// META: title=test WebNN API where operation +// META: global=window,dedicatedworker +// META: script=../resources/utils.js +// META: timeout=long + +'use strict'; + +// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-where + +testWebNNOperation('where', buildWhere, 'gpu');
\ No newline at end of file |