Update lod_reset_op.cc

revert-16190-refine_parallel_executor
Hongyu Liu 6 years ago committed by GitHub
parent e46a94a4a2
commit 96c54cd9b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,8 +32,7 @@ class LoDResetOp : public framework::OperatorWithKernel {
PADDLE_ENFORCE_GT(level0.size(), 1,
"If Input(Y) not provided, the target lod should be "
"specified by attribute `target_lod`.");
}
else {
} else {
ctx->ShareLoD( "Y", "Out");
}

Loading…
Cancel
Save