summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/validation_tests/elementwise-logical.https.any copy.js
blob: 86183b074ae0fe832a9f9837791a8f28799e3212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// META: title=validation tests for WebNN API element-wise logical operations
// META: global=window,dedicatedworker
// META: script=../resources/utils_validation.js

'use strict';

const kElementwiseLogicalBinaryOperators = [
  'equal',
  'greater',
  'greaterOrEqual',
  'lesser',
  'lesserOrEqual',
];

kElementwiseLogicalBinaryOperators.forEach((operatorName) => {
  validateTwoInputsFromMultipleBuilders(operatorName);
});

// The `not()` operator is unary.
validateInputFromOtherBuilder('not');