wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Add WebNN API operations tests

Open BruceDai opened this issue 3 years ago • 1 comments

This PR is to add some conformance tests (Float32) for WebNN API operations of first-wave models.

  1. Add tests for WebNN API concat / reshape / slice / split / squeeze / transpose operations which just manipulate input tensors

  2. Add tests for WebNN API clamp / relu operations which just simply compute input tensors

Above 8 operations have 0 ULP (unit of least precision) distance between actual data with expected data on different HW devices.

BruceDai avatar Jun 02 '22 07:06 BruceDai

@dontcallmedom @Honry I've updated this PR, please take another look, thanks.

BruceDai avatar Sep 07 '22 07:09 BruceDai

Close it. Thanks all for your much reviewing this big PR. Now this PR has been separated smaller PRs according to your feedbacks and suggestions, please continue to help me review the later smaller PRs, thanks.

BruceDai avatar Dec 01 '22 15:12 BruceDai