From 9874530ee886e27a7bce02d1aeec994b5169b9cd Mon Sep 17 00:00:00 2001 From: Hongyu Liu <43953930+phlrain@users.noreply.github.com> Date: Mon, 18 Mar 2019 19:39:58 +0800 Subject: [PATCH] Update lod_reset_op.cc --- paddle/fluid/operators/lod_reset_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/lod_reset_op.cc b/paddle/fluid/operators/lod_reset_op.cc index da6dd8d20c..a814c365d7 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")); -- GitLab