Skip to content

Commit 6a22d17

Browse files
authored
Merge pull request #2861 from DestinyOfLove/patch-1
Update module.md
2 parents 92d0b94 + 2cf8ae7 commit 6a22d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/inference/module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## 概念说明
33
`Module`接口可以用于模型训练与模型推理
44
- 模型训练时用户可以继承`Module`类增加自己的实现用来训练;
5-
- 模型推理与`Session`的区别是不需要用户显示resize,支持控制流,所以当模型中有`if``while`时必须使用`Module`推理
5+
- 模型推理与`Session`的区别是不需要用户显式resize,支持控制流,所以当模型中有`if``while`时必须使用`Module`推理
66
### 相关数据结构
77
- `Module` Module接口的核心类,表示一个模型的虚类;实际加载模型时会创建其子类
88
- `Executor` 包含若干个`RuntimeManager`,提供内存管理接口,每个`Executor`必须在单线程环境下运行。默认提供全局 `Executor`,需要并发执行时,可自行创建。

0 commit comments

Comments
 (0)