onnxruntime
fe749a88 - [WebNN EP] Fixed bug in usage of Array.reduce() (#22944)

Commit
1 year ago
[WebNN EP] Fixed bug in usage of Array.reduce() (#22944) In JS, reduce of empty array with no initial value will throw error. Fix it by checking the array length firstly.
Author
Parents
Loading