summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/conformance_tests/elementwise_logical.https.any.js
blob: a60c199447f1ef1e6266a4fde4a566d9b65772f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
);
testWebNNOperation('logicalNot', buildOperationWithSingleInput);