Closed BruceDai closed 6 months ago
@huningxin I've summitted new commits to address your comments. Please take another look, thanks.
@huningxin Updated. Please take another review, thanks.
@Honry , do you have any further comments?
have you tested it with webnn-samples?
@Honry Yes, I verified update webnn-polyfill.js by locally running our WebNN Samples by Wasm and WebGL backends. Most samples can run correctly except an error "Kernel 'Complex' not registered for backend 'wasm'" happened for Noise Suppression (NSNet2) sample which is an open issue https://github.com/tensorflow/tfjs/issues/5440 for tensorflow.js.
@BruceDai, super cool! Thank you for your great effort! Looking forward to new release.
@huningxin @Honry Thanks for reviewing. I'm going to merge it.
Let me firstly apologize for this large PR. It includes below changes to align with latest WebNN API Spec.
@huningxin @Honry PTAL, thanks.