Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /webnn/validation_tests/gelu.https.any.html?cpu - WPT Dashboard Interop Dashboard
- /webnn/validation_tests/gelu.https.any.html?gpu - WPT Dashboard Interop Dashboard
- /webnn/validation_tests/gelu.https.any.html?npu - WPT Dashboard Interop Dashboard
- /webnn/validation_tests/gelu.https.any.worker.html?cpu - WPT Dashboard Interop Dashboard
- /webnn/validation_tests/gelu.https.any.worker.html?gpu - WPT Dashboard Interop Dashboard
- /webnn/validation_tests/gelu.https.any.worker.html?npu - WPT Dashboard Interop Dashboard
// META: title=validation tests for WebNN API gelu operation
// META: global=window,dedicatedworker
// META: variant=?cpu
// META: variant=?gpu
// META: variant=?npu
// META: script=../resources/utils_validation.js
'use strict';
validateInputFromAnotherBuilder('gelu');
const label = 'gelu_123';
const regrexp = new RegExp('\\[' + label + '\\]');
validateSingleInputOperation('gelu', label, regrexp);