Skip to content

Use MLTensor and dispatch() and deprecate compute() - #276

Merged
huningxin merged 3 commits into
webmachinelearning:masterfrom
Honry:ml-buffer
Oct 10, 2024
Merged

Use MLTensor and dispatch() and deprecate compute()#276
huningxin merged 3 commits into
webmachinelearning:masterfrom
Honry:ml-buffer

Conversation

@Honry

@Honry Honry commented Sep 19, 2024

Copy link
Copy Markdown
Collaborator

Fixed #275

@Honry

Honry commented Sep 19, 2024

Copy link
Copy Markdown
Collaborator Author

@huningxin, PTAL, this is an example of using MLTensor for webnn samples, if it is OK, I will update the rest.

@Honry Honry changed the title Use MLTensor for Code and Image Classification samples Use MLTensor and dispatch() and deprecate compute() Sep 20, 2024
@Honry

Honry commented Sep 20, 2024

Copy link
Copy Markdown
Collaborator Author

@huningxin, all samples updated, PTAL, thanks!

Add @ibelem

@huningxin huningxin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@huningxin
huningxin merged commit ce57ba9 into webmachinelearning:master Oct 10, 2024
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.

Replace MLContext.compute() with MLContext.dispatch()

2 participants