Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /webnn/conformance_tests/elementwise_unary.https.any.html?cpu - WPT Dashboard Interop Dashboard
- /webnn/conformance_tests/elementwise_unary.https.any.html?gpu - WPT Dashboard Interop Dashboard
- /webnn/conformance_tests/elementwise_unary.https.any.worker.html?cpu - WPT Dashboard Interop Dashboard
- /webnn/conformance_tests/elementwise_unary.https.any.worker.html?gpu - WPT Dashboard Interop Dashboard
// 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';
runWebNNConformanceTests(
[
'abs', 'ceil', 'cos', 'erf', 'exp', 'floor', 'identity', 'log', 'neg',
'reciprocal', 'sin', 'sqrt', 'tan'
],
buildOperationWithSingleInput);