webmachinelearning / webnn

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

Use consistent phrasing for operator creation #674

Closed inexorabletash closed 1 month ago

inexorabletash commented 1 month ago

Places that create ops use an inconsistent mixed of simple phrases, camelCase, Title Case, ACRONYMS, and "quoted strings". The most common was camelCase, but the wording can be weird, and the bulk-defined binary/unary/logical/pooling/reduction ops and activations use a "quotedCamelCase", so I went with that.

See https://github.com/webmachinelearning/webnn/pull/591#issuecomment-1970083381 for the most commentary.

Resolves #572


Preview | Diff

inexorabletash commented 1 month ago

Super minor; mostly putting this up so we can close #572 and stop talking about it at the telecons. 😉

inexorabletash commented 1 month ago

@zolkis can you take a look? Low priority.

inexorabletash commented 1 month ago

Thanks @zolkis !

@huningxin & @fdwr - could you please review and merge if it looks good? Thanks!