summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/conformance_tests/elementwise_unary.https.any.js
blob: f202af01e51325c271afa67cd22105c3e3751e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// META: title=test WebNN API element-wise unary operations
// META: global=window,dedicatedworker
// META: variant=?cpu
// META: variant=?gpu
// META: script=../resources/utils.js
// META: timeout=long

'use strict';

// https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-unary

runWebNNConformanceTests(
    [
      'abs', 'ceil', 'cos', 'erf', 'exp', 'floor', 'identity', 'log', 'neg',
      'reciprocal', 'sin', 'sqrt', 'tan'
    ],
    buildOperationWithSingleInput);