提交 a77d1bc6 编写于 作者: Y yuyang18

Add debug code

上级 9e736215
...@@ -53,6 +53,7 @@ void FetchOpHandle::RunImpl() { ...@@ -53,6 +53,7 @@ void FetchOpHandle::RunImpl() {
platform::CPUPlace cpu; platform::CPUPlace cpu;
auto &scopes = *local_scopes_; auto &scopes = *local_scopes_;
PADDLE_ENFORCE_EQ(inputs_.size(), scopes.size());
for (size_t i = 0; i < scopes.size(); ++i) { for (size_t i = 0; i < scopes.size(); ++i) {
auto &scope = scopes[i]; auto &scope = scopes[i];
auto *var = auto *var =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册