pass multiple forward backward

revert-4814-Add_sequence_project_op
Yang Yang 7 years ago
parent e3161bb61a
commit 2fc7fc7a18

@ -279,8 +279,10 @@ TEST_F(ExecutorTesterRandom, GPU) {
std::unique_ptr<Executor> executor(new Executor(places));
executor->Run(init_pdesc_, GetGlobalScope(), 0);
executor->Run(pdesc_, GetGlobalScope(), 0);
std::vector<std::vector<float>> result = GetFetchVariable<float>();
for (int batch_id = 0; batch_id < 3; batch_id++) {
executor->Run(pdesc_, GetGlobalScope(), 0);
std::vector<std::vector<float>> result = GetFetchVariable<float>();
}
}
TEST_F(ExecutorTesterFeedAndFetch, GPU) {

Loading…
Cancel
Save