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

Add Web Neural Network (WebNN) #6098

Open
Schweinepriester opened this issue Dec 2, 2021 · 3 comments
Open

Add Web Neural Network (WebNN) #6098

Schweinepriester opened this issue Dec 2, 2021 · 3 comments

Comments

@Schweinepriester
Copy link
Contributor

@anssiko
Copy link
Contributor

anssiko commented Mar 18, 2024

BCD for WebNN added in mdn/browser-compat-data#22569 see e.g. https://caniuse.com/?search=MLGraphBuilder

@Fyrd can (or could) caniuse.com parse the web-features tags found in BCD and use those to improve search?

Example BCD entry from https://github.com/mdn/browser-compat-data/blob/main/api/MLGraphBuilder.json

{
  "api": {
    "MLGraphBuilder": {
      "__compat": {
        "spec_url": "https://www.w3.org/TR/webnn/#api-mlgraphbuilder",
        "tags": [
          "web-features:webnn"
        ],

The issue is this: "webnn" is the household name, yet https://caniuse.com/?search=webnn returns no results. The users won't likely search with the "ML" prefix https://caniuse.com/?search=ML that'd return the results they're after.

We'll use the same BCD data in https://webmachinelearning.github.io/webnn-status/ thus granular.

cc @ibelem

@anssiko
Copy link
Contributor

anssiko commented Mar 19, 2024

@ibelem, a further improvement idea related to how this API is surfaced in caniuse.com:

We should add a new footnote that links to https://webmachinelearning.github.io/webnn-status/ That page contains additional helpful information for developers e.g. JS ML framework WebNN support status. This data is pulled from BCD "notes", to be integrated in the next BCD update.

@ibelem
Copy link

ibelem commented Mar 22, 2024

Thanks @anssiko for the great improvement ideas, will try to add these data into BCD “notes” in next update.

@Fyrd It will be great if caniuse.com parse the web-features tags found in BCD and use those to improve search. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants