Skip to content

Comments

Decompositions for reduceLogSum, reduceLogSumExp, and reduceSumSquare#637

Merged
fdwr merged 2 commits intowebmachinelearning:mainfrom
inexorabletash:reduce-sum-decomp
Apr 16, 2024
Merged

Decompositions for reduceLogSum, reduceLogSumExp, and reduceSumSquare#637
fdwr merged 2 commits intowebmachinelearning:mainfrom
inexorabletash:reduce-sum-decomp

Conversation

@inexorabletash
Copy link
Contributor

@inexorabletash inexorabletash commented Apr 5, 2024

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

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
@inexorabletash inexorabletash requested a review from huningxin April 5, 2024 20:26
Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a nit, thanks!

Co-authored-by: Ningxin Hu <[email protected]>
Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for the added clarity.

@fdwr fdwr merged commit ee947fa into webmachinelearning:main Apr 16, 2024
github-actions bot added a commit that referenced this pull request Apr 16, 2024
…#637)

SHA: ee947fa
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the reduce-sum-decomp branch April 16, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reduceLogSum, reduceLogSumExp, reduceSumSquare are not supported on OV/NNAPI

3 participants