未验证 提交 f81db03a 编写于 作者: X xiaogang 提交者: GitHub

fix: fix sequence_pool bug (#3297)

 fix sequence_pool bug
上级 be41d276
......@@ -59,7 +59,8 @@ void SequencePoolCompute::Run() {
for (int i = 0; i <= batch_size; i++) {
offset_new[i] = i;
}
(output->mutable_lod())->push_back(offset_new);
output->mutable_lod()->clear();
output->mutable_lod()->push_back(offset_new);
}
} // namespace arm
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册