Skip to content

"default" v.s. "auto" in MLDevicePreference and MLPowerPreference #30

Description

@yuhonglin

Regarding the value that MLDevicePreference and MLPowerPreference can take, WebNN uses "default" as one value (https://webmachinelearning.github.io/webnn/#api-ml) but I feel maybe "auto" is more suitable because in this case, the backend will automatically determine the running environment. "auto" carries more message than "default". What do you think?

Activity

  1. yuhonglin commented on Mar 22, 2022

    @yuhonglin
    ContributorAuthor
  2. huningxin commented on Mar 23, 2022

    @huningxin

    @yuhonglin Thanks for brining this up. I think this is a good proposal and a good topic for WG discussion. /cc @anssiko , WDYT?

  3. anssiko commented on Mar 23, 2022

    @anssiko
    Member

    @yuhonglin webmachinelearning/webnn#169 is now cross-referenced.

    Also WIP PR webmachinelearning/webnn#257 discusses whether to make device selection normative for WebNN.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions