Skip to content

Commit bdeaa05

Browse files
authored
Merge pull request #14 from ibelem/update-weights-json
Update doc for weights.json
2 parents 72352cd + 82170dd commit bdeaa05

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

content/en/learn/tutorials/webnn/webnn-code-generator.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The conversion process involves two complementary tools:
3737
3. Select your model file (`.onnx`, `.tflite`, or other supported formats)
3838
4. Once loaded, download the required files:
3939
- Click **"Graph"** → Download `graph.json`
40-
- Click **"Weights"** → Download `weights_nchw.json`, `weights_nchw.bin`, `weights_nhwc.json` and `weights_nhwc.bin`
40+
- Click **"Weights"** → Download `weights.json`, `weights_nchw.bin` and `weights_nhwc.bin`
4141

4242
![WebNN Netron - Graph and Weights buttons](/learn/tutorials/webnn/code-generator-1.png)
4343

@@ -48,7 +48,7 @@ The conversion process involves two complementary tools:
4848
1. Open [WebNN Code Generator](https://ibelem.github.io/webnn-code-generator/)
4949
2. Upload the extracted files:
5050
- Click **"Choose Graph"** → Select `graph.json`
51-
- Click **"Choose Weights"** → Select `weights_nchw.json` and `weights_nhwc.json`
51+
- Click **"Choose Weights"** → Select `weights.json`
5252

5353
![WebNN Code Generator - Choose Graph, Weights and Bin buttons](/learn/tutorials/webnn/code-generator-2.png)
5454

content/zh/learn/tutorials/webnn/webnn-code-generator.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The conversion process involves two complementary tools:
3737
3. Select your model file (`.onnx`, `.tflite`, or other supported formats)
3838
4. Once loaded, download the required files:
3939
- Click **"Graph"** → Download `graph.json`
40-
- Click **"Weights"** → Download `weights_nchw.json`, `weights_nchw.bin`, `weights_nhwc.json` and `weights_nhwc.bin`
40+
- Click **"Weights"** → Download `weights.json`, `weights_nchw.bin` and `weights_nhwc.bin`
4141

4242
![WebNN Netron - Graph and Weights buttons](/learn/tutorials/webnn/code-generator-1.png)
4343

@@ -48,7 +48,7 @@ The conversion process involves two complementary tools:
4848
1. Open [WebNN Code Generator](https://ibelem.github.io/webnn-code-generator/)
4949
2. Upload the extracted files:
5050
- Click **"Choose Graph"** → Select `graph.json`
51-
- Click **"Choose Weights"** → Select `weights_nchw.json` and `weights_nhwc.json`
51+
- Click **"Choose Weights"** → Select `weights.json`
5252

5353
![WebNN Code Generator - Choose Graph, Weights and Bin buttons](/learn/tutorials/webnn/code-generator-2.png)
5454

0 commit comments

Comments
 (0)