webmachinelearning / webnn

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

Fix/simplify some validation steps #643

Closed inexorabletash closed 7 months ago

inexorabletash commented 7 months ago

Also, sneak in another case where [EMULATED] text macro can be used.


Preview | Diff

inexorabletash commented 7 months ago

This is a preamble to a change that introduces dataType validation to all ops where necessary - this cleanup work was noticed along the way, and keeps that upcoming change nice and clean.

inexorabletash commented 7 months ago

Please take a look @huningxin and @fdwr ?