Skip to content

Set gatherElements output shape from its indices - #979

Merged
fdwr merged 2 commits into
webmachinelearning:mainfrom
JinDX:fix/webnn-gather-elements-output-shape
Nov 20, 2026
Merged

fdwr merged 2 commits into
webmachinelearning:mainfrom
JinDX:fix/webnn-gather-elements-output-shape

Conversation

@JinDX

@JinDX JinDX commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The algorithm copies the input descriptor, which yields [4, 3] in the first example. The examples and WPT require the indices shape, [2, 3] in that case. Create the output operand with that shape.


Preview | Diff

@w3cbot

w3cbot commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

anssiko marked as non substantive for IPR from ash-nazg.

@anssiko
anssiko requested a review from ruoxiran November 17, 2026 08:24
@w3cbot

w3cbot commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

ruoxiran marked as substantive for IPR from ash-nazg.

@ruoxiran

Copy link
Copy Markdown
Collaborator

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

👍 LGTM. TY.

Comment thread index.bs Resolved
@ruoxiran

Copy link
Copy Markdown
Collaborator

Good to go on IPR.

@anssiko

anssiko commented Nov 20, 2026

Copy link
Copy Markdown
Member

Editors to review the changes and merge.

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

👍

@fdwr
fdwr merged commit a3b5747 into webmachinelearning:main Nov 20, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request Nov 20, 2026
SHA: a3b5747
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

6 participants