// META: title=test WebNN API element-wise binary 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-binary | |
runWebNNConformanceTests( | |
['add', 'sub', 'mul', 'div', 'max', 'min', 'pow'], | |
buildOperationWithTwoInputs); |