Skip to content

Comments

Editorial: Add note about keepDimensions of reduction ops#648

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

Editorial: Add note about keepDimensions of reduction ops#648
fdwr merged 1 commit intowebmachinelearning:mainfrom
inexorabletash:impl-note-keepdimensions

Conversation

@inexorabletash
Copy link
Contributor

@inexorabletash inexorabletash commented Apr 18, 2024

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
Contributor Author

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

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.

Lovely.

@fdwr
Copy link
Collaborator

fdwr commented Apr 18, 2024

FYI @lisa0314 @huningxin.

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, 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