webmachinelearning / webnn

🧠 Web Neural Network API
https://www.w3.org/TR/webnn/
Other
369 stars 46 forks source link

Create a light-weight process to guide submitting new operator requests to WebNN #231

Closed anssiko closed 1 year ago

anssiko commented 2 years ago

From WebML WG Teleconference – 18 Nov 2021:

RESOLUTION: Create a light-weight process to guide submitting new operator requests to WebNN

Recording this resolution as an issue so we remember to bootstrap this process.

In our discussions, the following ONNX guidelines were suggested to be adopted for WebNN:

Concretely, we could implement this process as an issue/PR template.

Feel free to share best practices/guidelines here to be used as a basis for the first version.

huningxin commented 1 year ago

As we are starting to work on WebNN v2 features, like transformers, more new op proposals are coming. There is a demand to clarify the process and criteria for adding new ops.

Also, in WebML WG Teleconference – 13 April 2023, @wchao1115 proposed that

Chai: I'd like us to write contribution guidelines for spec changes to help contributors.

Ideally, this issue could be fixed by the guidelines as the 4th category of contribution:

4) New content, add new ops, here's why with likely uber issue defining the rationale, this category is the most time consuming for the editor, need to understand the direction and keep the API consistent with the charter

/cc @fdwr @wacky6

anssiko commented 1 year ago

Fixed by #381 and specifically the section Proposing and adding a new operation.