Skip to content

Conversation

@huningxin
Copy link
Contributor

@huningxin huningxin commented Apr 10, 2023

This PR is based on the discussion of #369 as the first step. It includes the changes:

  1. Change starts and sizes parameters to be of a sequence of unsigned long.
  2. Remove MLSliceOptions.axes.

The MLSliceOptions.steps may need more discussion and will be left to a separate PR.

Fix #369

@wchao1115 @anssiko @pyu10055 @wacky6 @fdwr, PTAL!


Preview | Diff

1. Change `starts` and `sizes` parameters to be sequence of unsigned long.
2. Remove `MLSliceOptions.axes`.

Fix webmachinelearning#369
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 Ningxin for simplifying the backend implementations, reducing test complexity, and increasing explicit clarity.

Copy link
Member

@anssiko anssiko left a comment

Choose a reason for hiding this comment

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

(Publication to https://www.w3.org/TR/webnn/ upon PR merge will resume once speced/bikeshed-boilerplate#38 lands. I expect that to happen soon. I suggest hold on merging until that happens so we can validate the auto-publish job works as planned.)

@anssiko
Copy link
Member

anssiko commented Apr 14, 2023

@huningxin @wchao1115 feel free to merge when you’re settled with the remaining discussion.

speced/bikeshed-boilerplate#38 was merged unblocking publications to https://www.w3.org/TR/webnn/

This is the first time we publish a Candidate Recommendation Draft (CRD) with this automated workflow so if any issues occur @dontcallmedom will be the expert to assist.

@huningxin
Copy link
Contributor Author

Thanks @anssiko . I think we've resolved all conversations. I am going to merge it. Thanks all for the reviews and approvals.

Let's see whether the automated workflow works.

@huningxin huningxin merged commit 72751c2 into webmachinelearning:main Apr 14, 2023
github-actions bot added a commit that referenced this pull request Apr 14, 2023
SHA: 72751c2
Reason: push, by huningxin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@anssiko
Copy link
Member

anssiko commented Apr 14, 2023

Works as expected: https://www.w3.org/TR/webnn/ 🚀

Thanks @dontcallmedom for reconfiguring this worflow.

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.

Make the starts and sizes definitions of slice op consistent and simplified

6 participants