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

Implement the sync API and require pre-allocated output buffers #12

Closed
huningxin opened this issue Jun 11, 2021 · 1 comment
Closed

Comments

@huningxin
Copy link
Collaborator

huningxin commented Jun 11, 2021

Implement the changes introduced by webmachinelearning/webnn#174

The changes include:

  1. Change MLGraphBuilder.build and MLGraph.compute to sync API.
  2. Change MLGraph.compute to require pre-allocated output buffers.
  3. Simplify the the input / output resources binding by MLResource. Leave MLInput only for dynamic input shape case.

The corresponding webnn-polyfill issue webmachinelearning/webnn-polyfill#81

@huningxin
Copy link
Collaborator Author

closed by #35

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

No branches or pull requests

1 participant