fix reference_count_pass,test=develop (#17060)

test=develop
feature/fluid_trt_int8
Zeng Jinle 6 years ago committed by GitHub
parent beda78258f
commit 842ded14b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -138,6 +138,7 @@ static ComputationOpHandle *FindNextComputationOpHandleOrReturnItself(
for (auto *pending_op : out_var->PendingOps()) {
if (visited.count(pending_op)) continue;
visited.insert(pending_op);
q.push(pending_op);
}
}
} while (!q.empty());

Loading…
Cancel
Save