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

Update code editor sample to the latest implementation #193

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

huningxin
Copy link
Contributor

  • Use MLGraphBuilder.constant(desc, value) for scalar
  • Use gemm which supports 2Dx2D
  • Use MLOperandDescriptor.dataType
  • Remove optional output sample

* Use MLGraphBuilder.constant(desc, value) for scalar
* Use `gemm` which supports 2Dx2D
* Use MLOperandDescriptor.dataType
* Remove optional output sample
@huningxin huningxin requested a review from Honry February 18, 2024 08:04
@Honry Honry changed the title Update code editor sample to the latst implementation Update code editor sample to the latest implementation Feb 18, 2024
Copy link
Collaborator

@Honry Honry 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!

@Honry Honry merged commit c894ab0 into webmachinelearning:master Feb 18, 2024
3 checks passed
Honry pushed a commit to Honry/webnn-samples that referenced this pull request May 15, 2024
…ning#193)

* Use MLGraphBuilder.constant(desc, value) for scalar
* Use `gemm` which supports 2Dx2D
* Use MLOperandDescriptor.dataType
* Remove optional output sample
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.

2 participants