You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current WebNN API samples is renaming MLDevicePreference to MLDeviceType by webmachinelearning/webnn-samples#150 to align latest WebNN API Spec, while device selection would not work by running Chrome with enabled enable-experimental-web-platform-features flag,
// WebNN API codenavigator.ml.createContext({deviceType: 'cpu'})navigator.ml.createContext({deviceType: 'gpu'})
so we request rename MLDevicePreference to MLDeviceType for Model Loader API, thanks.
The text was updated successfully, but these errors were encountered:
The previous landed patch webmachinelearning/webnn#257 of WebNN API renamed MLDevicePreference to MLDeviceType with reason "rename MLDevicePreference to MLDeviceType to make it more clear that it is not merely a hint".
Current WebNN API samples is renaming MLDevicePreference to MLDeviceType by webmachinelearning/webnn-samples#150 to align latest WebNN API Spec, while device selection would not work by running Chrome with enabled enable-experimental-web-platform-features flag,
so we request rename MLDevicePreference to MLDeviceType for Model Loader API, thanks.
The text was updated successfully, but these errors were encountered: