summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/validation_tests/reduction.https.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/webnn/validation_tests/reduction.https.any.js')
-rw-r--r--testing/web-platform/tests/webnn/validation_tests/reduction.https.any.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webnn/validation_tests/reduction.https.any.js b/testing/web-platform/tests/webnn/validation_tests/reduction.https.any.js
new file mode 100644
index 0000000000..65b71239b9
--- /dev/null
+++ b/testing/web-platform/tests/webnn/validation_tests/reduction.https.any.js
@@ -0,0 +1,21 @@
+// META: title=validation tests for WebNN API reduction operation
+// META: global=window,dedicatedworker
+// META: script=../resources/utils_validation.js
+// META: timeout=long
+
+'use strict';
+
+[
+ 'reduceL1',
+ 'reduceL2',
+ 'reduceLogSum',
+ 'reduceLogSumExp',
+ 'reduceMax',
+ 'reduceMean',
+ 'reduceMin',
+ 'reduceProduct',
+ 'reduceSum',
+ 'reduceSumSquare',
+].forEach((operationName) => {
+ validateOptionsAxes(operationName);
+});