blob: 70a887a147aff90870411d3529fea622439f96a5 (
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');
|