webmachinelearning / webnn

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

`layerNormalization()` method steps should validate the values of `options.axes` #686

Closed huningxin closed 1 month ago

huningxin commented 1 month ago

The current layerNormalization() method steps don't validate the values of options.axes. The values of options.axes should have no duplications and be in the range from 1 to input’s rank, exclusive.