webmachinelearning / webnn

🧠 Web Neural Network API
https://www.w3.org/TR/webnn/
Other
397 stars 48 forks source link

Bugfix: Add missing validation for conv2d() and convTranspose2d() #706

Closed huningxin closed 5 months ago

huningxin commented 5 months ago

According to audit result of Chromium prototype, there are a few missing validations in the spec. This PR adds missing validations for conv2d() and convTranspose2d(). Other missing validations will be addressed by follow-up PRs.

@inexorabletash @fdwr , PTAL.


Preview | Diff