Skip to content

Commit 3b2766b

Browse files
committed
Segment
1 parent 68653fd commit 3b2766b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

_typos.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ feeded = "feeded"
2929

3030
# These words need to be fixed
3131
Learing = "Learing"
32-
Setment = "Setment"
3332
libary = "libary"
3433
matrics = "matrics"
3534
metrices = "metrices"

docs/design/dynamic_rnn/rnn_design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ std::vector<SortedSeqItem> SortBySeqLen(const LODTensor& tensor);
198198
由于输入序列的顺序变化,以下现有的接口需要针对性地修改:
199199

200200
- InitMemories, memory 需要根据 `sorted_seqs` 重新排列
201-
- SetmentInputs
201+
- SegmentInputs
202202
- ConcatOutputs
203203

204204
此外,由于 `sorted_seqs` 需要被 `RecurrentGradientOp` 复用,因此会变成 `RecurrentOp` 一个新的 output 输出,

docs/design/dynamic_rnn/rnn_design_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ std::vector<SortedSeqItem> SortBySeqLen(const LODTensor& tensor);
136136
Due to the sequence of input sequences, the following existing interfaces need to be modified:
137137
138138
- InitMemories, memory needs to be rearranged according to `sorted_seqs`
139-
- SetmentInputs
139+
- SegmentInputs
140140
- ConcatOutputs
141141
142142
In addition, because `sorted_seqs` needs to be multiplexed with `RecurrentGradientOp`, it will become a new output of `RecurrentOp`.

0 commit comments

Comments
 (0)