summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/gpu/elementwise_logical.https.any.js
blob: f597ce8e0b259eaecc57c50437ae50a1a520695c (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, 'gpu'
);
testWebNNOperation('logicalNot', buildOperationWithSingleInput, 'gpu');