Skip to content

Decompositions for reduceLogSum, reduceLogSumExp, and reduceSumSquare - #637

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

fdwr merged 2 commits into
webmachinelearning:mainfrom
inexorabletash:reduce-sum-decomp

Conversation

@inexorabletash

@inexorabletash inexorabletash commented Apr 5, 2024 •

Copy link
Copy Markdown
Contributor

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

@huningxin huningxin left a comment

Copy link
Copy Markdown
Contributor

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!

Comment thread index.bs Outdated
Co-authored-by: Ningxin Hu <ningxin.hu@intel.com>

@huningxin huningxin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@fdwr fdwr left a comment •

Copy link
Copy Markdown
Collaborator

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.

Comment thread index.bs
@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