Skip to content

Commit 4c864d3

Browse files
committed
typo
1 parent e05319f commit 4c864d3

File tree

7 files changed

+37
-37
lines changed

7 files changed

+37
-37
lines changed

docs/backend-reference/torch.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The following are initialization parameters:
122122
|--------------|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
123123
| model | Model path | Supports <br />- onnx files ending with .onnx<br />- tensorrt engine files ending with .trt <br />- [encrypted](../tools/encrypt.mdx) files ending with .onnx.encrypted and .trt.encrypted |
124124
| instance_num | Number of instances | If the number of profiles in the tensorrt engine is not enough to establish enough instances, multiple engines will be deserialized. |
125-
| [postprocessor](#postprocessing-extension) | Custom post-processing | Custom C++ batch post-processing for network output; the default operation is to split the batch dimension; needs to be implemented as a subclass of PostProcessor and registered. ||
125+
| [postprocessor](#postprocessing-extension) | Custom post-processing | Custom C++ batch post-processing for network output; the default operation is to split the batch dimension; needs to be implemented as a subclass of PostProcessor and registered. |builtin: cpu, softmaxcpu|
126126

127127
For onnx models, there are the following additional parameters:
128128

docs/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: introduction
3-
title: 1. Introduction
3+
title: Introduction
44
type: explainer
55
---
66

i18n/zh/code.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"message": "torchpipe 的用户"
271271
},
272272
"sidebars.preliminaries": {
273-
"message": "2. 预备知识"
273+
"message": "预备知识"
274274
},
275275
"theme.ErrorPageContent.title": {
276276
"message": "页面已崩溃。",

i18n/zh/docusaurus-plugin-content-docs/current.json

+28-28
Original file line numberDiff line numberDiff line change
@@ -3,57 +3,57 @@
33
"message": "Next",
44
"description": "The label for version current"
55
},
6-
"sidebar.main.category.2. Preliminary": {
7-
"message": "2. 预备知识",
8-
"description": "The label for category 2. Preliminary in sidebar main"
6+
"sidebar.main.category.1. Preliminary": {
7+
"message": "预备知识",
8+
"description": "The label for category 1. Preliminary in sidebar main"
99
},
10-
"sidebar.main.category.2. Preliminary.link.generated-index.title": {
10+
"sidebar.main.category.1. Preliminary.link.generated-index.title": {
1111
"message": "预备知识",
12-
"description": "The generated-index page title for category 2. Preliminary in sidebar main"
12+
"description": "The generated-index page title for category 1. Preliminary in sidebar main"
1313
},
14-
"sidebar.main.category.2. Preliminary.link.generated-index.description": {
14+
"sidebar.main.category.1. Preliminary.link.generated-index.description": {
1515
"message": "您可以快速浏览或跳过本部分,在需要时再回头查看。",
16-
"description": "The generated-index page description for category 2. Preliminary in sidebar main"
16+
"description": "The generated-index page description for category 1. Preliminary in sidebar main"
1717
},
18-
"sidebar.main.category.5. Tools": {
19-
"message": "5. 工具",
20-
"description": "The label for category 5. Tools in sidebar main"
18+
"sidebar.main.category.4. Tools": {
19+
"message": "工具",
20+
"description": "The label for category 4. Tools in sidebar main"
2121
},
22-
"sidebar.main.category.5. Tools.link.generated-index.title": {
22+
"sidebar.main.category.4. Tools.link.generated-index.title": {
2323
"message": "工具",
24-
"description": "The generated-index page title for category 5. Tools in sidebar main"
24+
"description": "The generated-index page title for category 4. Tools in sidebar main"
2525
},
26-
"sidebar.main.category.5. Tools.link.generated-index.description": {
26+
"sidebar.main.category.4. Tools.link.generated-index.description": {
2727
"message": "torchpipe相关的扩展工具",
28-
"description": "The generated-index page description for category 5. Tools in sidebar main"
28+
"description": "The generated-index page description for category 4. Tools in sidebar main"
2929
},
30-
"sidebar.main.category.3. Single Node Scheduling": {
31-
"message": "3. 单节点并行化",
32-
"description": "The label for category 3. Single Node Scheduling in sidebar main"
30+
"sidebar.main.category.2. Single Node Scheduling": {
31+
"message": "单节点并行化",
32+
"description": "The label for category 2. Single Node Scheduling in sidebar main"
3333
},
34-
"sidebar.main.category.3. Single Node Scheduling.link.generated-index.title": {
34+
"sidebar.main.category.2. Single Node Scheduling.link.generated-index.title": {
3535
"message": "单节点并行化",
36-
"description": "The generated-index page title for category 3. Single Node Scheduling in sidebar main"
36+
"description": "The generated-index page title for category 2. Single Node Scheduling in sidebar main"
3737
},
38-
"sidebar.main.category.3. Single Node Scheduling.link.generated-index.description": {
38+
"sidebar.main.category.2. Single Node Scheduling.link.generated-index.description": {
3939
"message": "单个节点内部的线程安全,多实例并行,batching.",
40-
"description": "The generated-index page description for category 3. Single Node Scheduling in sidebar main"
40+
"description": "The generated-index page description for category 2. Single Node Scheduling in sidebar main"
4141
},
4242
"sidebar.main.category.Backend API Reference": {
4343
"message": "后端API 参考文档",
4444
"description": "The label for category Backend API Reference in sidebar main"
4545
},
46-
"sidebar.main.category.4. Multi-node Pipeline": {
47-
"message": "4. 多节点调度",
48-
"description": "The label for category 4. Multi-node Pipeline in sidebar main"
46+
"sidebar.main.category.3. Multi-node Pipeline": {
47+
"message": "多节点调度",
48+
"description": "The label for category 3. Multi-node Pipeline in sidebar main"
4949
},
50-
"sidebar.main.category.4. Multi-node Pipeline.link.generated-index.title": {
50+
"sidebar.main.category.3. Multi-node Pipeline.link.generated-index.title": {
5151
"message": "多节点调度",
52-
"description": "The generated-index page title for category 4. Multi-node Pipeline in sidebar main"
52+
"description": "The generated-index page title for category 3. Multi-node Pipeline in sidebar main"
5353
},
54-
"sidebar.main.category.4. Multi-node Pipeline.link.generated-index.description": {
54+
"sidebar.main.category.3. Multi-node Pipeline.link.generated-index.description": {
5555
"message": "本章利用节点间的调度和并行计算,有效地并调度任务, 生成逻辑控制流,提高处理速度。",
56-
"description": "The generated-index page description for category 4. Multi-node Pipeline in sidebar main"
56+
"description": "The generated-index page description for category 3. Multi-node Pipeline in sidebar main"
5757
},
5858
"sidebar.main.category.FAQ": {
5959
"message": "FAQ",

i18n/zh/docusaurus-plugin-content-docs/current/backend-reference/torch.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ tensorrt推理引擎
127127
|--------------------------------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
128128
| model | 模型路径 | 支持 <br />- 以 .onnx 结尾的onnx文件<br />- 以 .trt 结尾的tensorrt engine文件 <br />- 以 .onnx.encrypted 和 .trt.encrypted 结尾的[加密](../tools/encrypt.mdx)文件 |
129129
| instance_num | 实例数目 | 如果tensorrt engine的profile数目不足以建立足够的实例数,将反序列化多个engine. |
130-
| [postprocessor](#postprocessing-extension) | 自定义后处理 | 自定义网络输出c++批后处理;默认操作是拆分batch维度; 需要实现为 PostProcessor 的子类并注册 |
130+
| [postprocessor](#postprocessing-extension) | 自定义后处理 | 自定义网络输出c++批后处理;默认操作是拆分batch维度; 需要实现为 PostProcessor 的子类并注册。预置:cpu, softmaxcpu |
131131

132132
对于onnx模型,有以下额外参数
133133

i18n/zh/docusaurus-plugin-content-docs/current/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: introduction
3-
title: 1. 介绍
3+
title: 介绍
44
type: explainer
55
---
66

sidebars.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const sidebars = {
5454

5555
{
5656
type: "category",
57-
label: "2. Preliminary",
57+
label: "1. Preliminary",
5858
items: [
5959
"preliminaries/cuda_stream",
6060
"preliminaries/pytorch_libtorch",
@@ -70,7 +70,7 @@ const sidebars = {
7070
},
7171
{
7272
type: "category",
73-
label: "3. Single Node Scheduling",
73+
label: "2. Single Node Scheduling",
7474
items: [
7575
"Intra-node/model_parallel",
7676
"Intra-node/computational_backend",
@@ -104,7 +104,7 @@ const sidebars = {
104104
},
105105
{
106106
type: "category",
107-
label: "4. Multi-node Pipeline",
107+
label: "3. Multi-node Pipeline",
108108
items: ["Inter-node/next","Inter-node/filter","Inter-node/context","Inter-node/graphtraversal", "Inter-node/logical_nodes" ],
109109
link: {
110110
type: "generated-index",
@@ -117,7 +117,7 @@ const sidebars = {
117117
},
118118
{
119119
type: "category",
120-
label: "5. Tools",
120+
label: "4. Tools",
121121
items: [
122122
"tools/encrypt",
123123
"tools/quantization",

0 commit comments

Comments
 (0)