webmachinelearning / webnn

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

Decompositions for reduceLogSum, reduceLogSumExp, and reduceSumSquare #637

Closed inexorabletash closed 7 months ago

inexorabletash commented 8 months ago

As noted in #209, not all frameworks/platform APIs support all reduce operations, but these are easily emulated.

Decompositions are provided using the standard phrasing and style currently used throughout the spec. In the future, we may alter the wording to explicitly state that these decompositions can be used as templates for implementations to follow when their underlying frameworks/platform APIs do not support the operations.

Fixes #209


Preview | Diff