Skip to content

Editorial: Add note about keepDimensions of reduction ops - #648

Merged
fdwr merged 1 commit into
webmachinelearning:mainfrom
inexorabletash:impl-note-keepdimensions
Apr 19, 2024
Merged

fdwr merged 1 commit into
webmachinelearning:mainfrom
inexorabletash:impl-note-keepdimensions

Conversation

@inexorabletash

@inexorabletash inexorabletash commented Apr 18, 2024 •

Copy link
Copy Markdown
Contributor

Add a note based on @fdwr's comment: if the backend doesn't support a keepDimensions option, the implementation can insert a no-op reshape to keep or drop the reduced dimension(s) as needed.

Fixes #465


Preview | Diff

Add a note based on @fdwr's comment: if the backend doesn't support a
keepDimensions option, the implementation can insert a no-op reshape
to keep or drop the reduced dimension(s) as needed.

Fixes #465
@inexorabletash

Copy link
Copy Markdown
Contributor Author

@fdwr can you take a look, since I based this on your comment? Thanks!

@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.

Lovely.

@fdwr

fdwr commented Apr 18, 2024

Copy link
Copy Markdown
Collaborator

FYI @lisa0314 @huningxin.

@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, thanks!

@fdwr
fdwr merged commit 50fbb92 into webmachinelearning:main Apr 19, 2024
github-actions Bot added a commit that referenced this pull request Apr 19, 2024
SHA: 50fbb92
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash
inexorabletash deleted the impl-note-keepdimensions branch April 19, 2024 15:56
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.

keepDimensions of reduction ops

3 participants