Skip to content

Comments

Add missing validation for pad(), slice(), and split()#690

Merged
fdwr merged 2 commits intowebmachinelearning:mainfrom
inexorabletash:pad-slice-split-validation
May 23, 2024
Merged

Add missing validation for pad(), slice(), and split()#690
fdwr merged 2 commits intowebmachinelearning:mainfrom
inexorabletash:pad-slice-split-validation

Conversation

@inexorabletash
Copy link
Contributor

@inexorabletash inexorabletash commented May 20, 2024

Noticed during a review of the Chromium prototype. These are all pretty obvious except for slice() where there is subtlety for 0-size dimensions. I added an issue linking to #391 since the steps will need to be revised depending on how that issue is resolved.


Preview | Diff

Noticed during a review of the Chromium prototype. These are all
pretty obvious except for slice() where there is subtlety for 0-size
dimensions. I added an issue linking to #391 since the steps will need
to be revised depending on how that issue is resolved.
@inexorabletash inexorabletash requested a review from huningxin May 20, 2024 20:40
@inexorabletash
Copy link
Contributor Author

@huningxin - can you take a first look? Thanks!

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!

@huningxin
Copy link
Contributor

@fdwr is OOO this week and might not have bandwidth to review this PR.

I think it's straightforward and could be merged.

@inexorabletash , WDYT?

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 as always Joshua.

@fdwr fdwr merged commit 960ae89 into webmachinelearning:main May 23, 2024
github-actions bot added a commit that referenced this pull request May 23, 2024
SHA: 960ae89
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the pad-slice-split-validation branch May 23, 2024 14:44
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.

3 participants