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

webgpu: support linSpace operator #7119

Merged
merged 1 commit into from Nov 30, 2022
Merged

webgpu: support linSpace operator #7119

merged 1 commit into from Nov 30, 2022

Conversation

xhcao
Copy link
Collaborator

@xhcao xhcao commented Nov 29, 2022

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@xhcao xhcao requested review from qjia7 and gyagp November 29, 2022 05:44
Copy link
Collaborator

@qjia7 qjia7 left a comment

Choose a reason for hiding this comment

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

LGTM with one nit.

export const linSpaceConfig: KernelConfig = {
kernelName: LinSpace,
backendName: 'webgpu',
kernelFunc: linSpace as {} as KernelFunc
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Per #7116, use as unknown as KernelFunc.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Could we submit a CL to change all kernels, not modify only one here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@xhcao xhcao force-pushed the linSpace branch 2 times, most recently from e45ec11 to 53a2cdb Compare November 30, 2022 04:45
@gyagp gyagp merged commit d15c96a into tensorflow:master Nov 30, 2022
Linchenn pushed a commit to Linchenn/tfjs that referenced this pull request Jan 9, 2023
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.

None yet

3 participants