|
|
|
@ -125,8 +125,9 @@ void Executor::Run(const ProgramDesc& pdesc, Scope* scope, int block_id,
|
|
|
|
|
for (auto& op_desc : block.AllOps()) {
|
|
|
|
|
auto op = paddle::framework::OpRegistry::CreateOp(*op_desc);
|
|
|
|
|
|
|
|
|
|
VLOG(3) << place_ << " " << op->DebugStringEx(local_scope);
|
|
|
|
|
VLOG(4) << place_ << " " << op->DebugStringEx(local_scope);
|
|
|
|
|
op->Run(*local_scope, place_);
|
|
|
|
|
VLOG(3) << place_ << " " << op->DebugStringEx(local_scope);
|
|
|
|
|
|
|
|
|
|
if (FLAGS_benchmark) {
|
|
|
|
|
VLOG(2) << "Memory used after operator " + op->Type() + " running: "
|
|
|
|
|