From fd31b54cf186ec02e50320f4df6f2c029fd6da36 Mon Sep 17 00:00:00 2001 From: Jacek Czaja Date: Mon, 1 Oct 2018 11:28:33 +0200 Subject: [PATCH] - Removed disabled code test=develop --- paddle/fluid/operators/fused_embedding_fc_lstm_op.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/operators/fused_embedding_fc_lstm_op.cc b/paddle/fluid/operators/fused_embedding_fc_lstm_op.cc index f74d3378a6a..dedecf3440d 100644 --- a/paddle/fluid/operators/fused_embedding_fc_lstm_op.cc +++ b/paddle/fluid/operators/fused_embedding_fc_lstm_op.cc @@ -97,7 +97,6 @@ void FusedEmbeddingFCLSTMOp::InferShape( if (ctx->Attrs().Get("use_seq")) { xx_width = wh_dims[1]; } else { - // xx_width = x_dims[1] > wh_dims[1] ? wh_dims[1] : x_dims[1]; // ? xx_width = wh_dims[1]; // PADDLE_ENFORCE(ctx->HasOutput("BatchedInput"), "Assert only one Output(BatchedInput) of LSTM."); -- GitLab