Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 50 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /webnn/validation_tests/relu.https.any.html - WPT Dashboard Interop Dashboard
- /webnn/validation_tests/relu.https.any.worker.html - WPT Dashboard Interop Dashboard
// META: title=validation tests for WebNN API relu operation
// META: global=window,dedicatedworker
// META: script=../resources/utils_validation.js
'use strict';
validateInputFromAnotherBuilder('relu');
validateUnaryOperation(
'relu', [...floatingPointTypes, 'int32', 'int8'], /*alsoBuildActivation=*/ true);