Skip to content

Commit

Permalink
[webnn] Add float32 tests for WebNN reduction ops (#37380)
Browse files Browse the repository at this point in the history
reduceMax/reduceMean/reduceMin/reduceProduct/reduceSum
  • Loading branch information
BruceDai authored Jan 12, 2023
1 parent 8e39922 commit 499b80a
Show file tree
Hide file tree
Showing 7 changed files with 4,176 additions and 6 deletions.
13 changes: 13 additions & 0 deletions webnn/reduction.https.any.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// META: title=test WebNN API reduction operation
// META: global=window,dedicatedworker
// META: script=./resources/utils.js
// META: timeout=long

'use strict';

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

testWebNNOperation(
['reduceMax', 'reduceMean', 'reduceMin', 'reduceProduct', 'reduceSum'],
buildOperationWithSingleInput
);
Loading

0 comments on commit 499b80a

Please sign in to comment.