Get WebNN context options based on session configuration
Session options
WebNN context options object
const contextOptions = getWebNNContextOptions({ webnnDeviceType: 'gpu', webnnPowerPreference: 'high-performance'}); Copy
const contextOptions = getWebNNContextOptions({ webnnDeviceType: 'gpu', webnnPowerPreference: 'high-performance'});
Get WebNN context options based on session configuration