Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements Slice Operator for WebGPU Native #23106

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

prathikr
Copy link
Contributor

@prathikr prathikr commented Dec 13, 2024

Increases operator coverage for WebGPU EP.

Note: Implementation is not robust to negative or INT_{MAX/MIN} values for ends attribute. Will address in future PR if necessary.

@guschmue guschmue added the ep:WebGPU ort-web webgpu provider label Dec 16, 2024
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You can commit the suggested changes from lintrunner.

Comment on lines +156 to +158
std::cout << "processing inputs" << std::endl;
std::cout << "process axes" << std::endl;

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
std::cout << "processing inputs" << std::endl;
std::cout << "process axes" << std::endl;
std::cout << "processing inputs" << std::endl;
std::cout << "process axes" << std::endl;

@@ -0,0 +1,330 @@
// Copyright (c) Microsoft Corporation. All rights reserved.

Check warning

Code scanning / lintrunner

CLANGFORMAT/format Warning

See https://clang.llvm.org/docs/ClangFormat.html.
Run lintrunner -a to apply this patch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:WebGPU ort-web webgpu provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants