From b6c7bff981ffece65259b47365eec79ccd1770d0 Mon Sep 17 00:00:00 2001 From: Wanming Lin Date: Wed, 14 Aug 2024 17:13:00 +0800 Subject: [PATCH] Fix format issue --- docs/tutorials/web/ep-webnn.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/web/ep-webnn.md b/docs/tutorials/web/ep-webnn.md index b2bb3226bc880..0c7c0247ba2d5 100644 --- a/docs/tutorials/web/ep-webnn.md +++ b/docs/tutorials/web/ep-webnn.md @@ -53,8 +53,8 @@ To use WebNN EP, you just need to make 3 small changes: const session = await ort.InferenceSession.create(modelPath, { ..., executionProviders: ['webnn'] }); ``` WebNN EP also offers a set of options for creating diverse types of WebNN MLContext. - - `deviceType`: `'cpu'`|`'gpu'`|`'npu'`(default value is `'cpu'`), specifies the preferred type of device to be used for the MLContext. - - `powerPreference`: `'default'`|`'low-power'`|`'high-performance'`(default value is `default`), specifies the preferred type of power consumption to be used for the MLContext. + - `deviceType`: `'cpu'|'gpu'|'npu'`(default value is `'cpu'`), specifies the preferred type of device to be used for the MLContext. + - `powerPreference`: `'default'|'low-power'|'high-performance'`(default value is `'default'`), specifies the preferred type of power consumption to be used for the MLContext. - `numThreads`: type of number, allows users to specify the number of multi-threads for `'cpu'` device type. - `context`: type of `MLContext`, allows users to pass a pre-created `MLContext` to WebNN EP, it is required in IO binding feature. If this option is provided, the other options will be ignored.