Revert code to develop

trainerSaveLoadParams
Yu Yang 7 years ago
parent 76174ec0e9
commit 6c18410487

@ -348,9 +348,6 @@ void Executor::RunPreparedContext(ExecutorPrepareContext* ctx, Scope* scope,
}
}
}
platform::DeviceContextPool::Instance().Get(place_)->Wait();
if (create_vars && create_local_scope) {
scope->DeleteScope(local_scope);
}

@ -15,7 +15,6 @@
import unittest
import numpy as np
from op_test import OpTest, randomize_probability
import paddle.fluid as fluid
class TestCrossEntropyOp1(OpTest):

Loading…
Cancel
Save