diff --git a/paddle/fluid/operators/lod_reset_op.cc b/paddle/fluid/operators/lod_reset_op.cc index 068868fd36cfbc3d90209bc04360b6fe414e9bc8..da6dd8d20ccb820ba32bfcf2745b27f610bb4132 100644 --- a/paddle/fluid/operators/lod_reset_op.cc +++ b/paddle/fluid/operators/lod_reset_op.cc @@ -33,7 +33,7 @@ class LoDResetOp : public framework::OperatorWithKernel { "If Input(Y) not provided, the target lod should be " "specified by attribute `target_lod`."); } else { - ctx->ShareLoD( "Y", "Out"); + ctx->ShareLoD( "Y", "Out"); } ctx->SetOutputDim("Out", ctx->GetInputDim("X"));