-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
Here's process of WPT tests for remaining 20 ops with @fdwr‘s great efforts on these operations tolerances, thanks much @fdwr!
Note: Set l2Pool2d being P3 is due to issue #278.
I synced with @fdwr about tolerance definitions for gru/gruCell and lstm/lstmCell,since they're not operators but more like entire miniature graphs themselves, we need community for some help of defining them, thanks.
| Operations | WebNN-Baseline implementation | WebNN-Polyfill implementation | WPT tests (PR link) | Priority | Note |
|---|---|---|---|---|---|
| hardSwish | √ | √ | √ | P1 | It's easy to implement |
| resample2d | √ | √ | √ | P1 | Required by Semantic Segmentation - DeepLabv3 |
| pRelu | √ | √ | √ | P1 | It's easy to implement |
| pad | √ | √(updated) | √ | P1 | |
| elu | √ | √ | √ | P1 | It's easy to implement |
| instanceNormalization | √ | √ | √ | P1 | Required by Fast Style Transfer |
| hardSigmoid | √ | √ | √ | P1 | It's easy to implement |
| linear | √ | √ | √ | P1 | It's easy to implement |
| softplus | pr | √ | √ | P1 | It's easy to implement |
| softsign | √ | √ | √ | P1 | It's easy to implement |
| reduceL1 | √ | √ | √ | P2 | |
| reduceL2 | √ | √ | √ | P2 | |
| reduceLogSum | √ | √ | √ | P2 | |
| reduceLogSumExp | √ | √ | √ | P2 | |
| reduceSumSquare | √ | √ | √ | P2 | |
| gru | √ | √ | √ | P2 | Required by RNNoise, NSNet |
| gruCell | √ | √ | √ | P2 | Required by Recurrent network |
| lstm | √ | √ | √ | P2 | Required by Recurrent network |
| lstmCell | √ | √ | √ | P2 | Required by Recurrent network |
| l2Pool2d | √ | √ | √ | P3 | There's an issue #278 |
fdwr