提交 fd31b54c 编写于 作者: J Jacek Czaja

- Removed disabled code

test=develop
上级 f9da2d64
...@@ -97,7 +97,6 @@ void FusedEmbeddingFCLSTMOp::InferShape( ...@@ -97,7 +97,6 @@ void FusedEmbeddingFCLSTMOp::InferShape(
if (ctx->Attrs().Get<bool>("use_seq")) { if (ctx->Attrs().Get<bool>("use_seq")) {
xx_width = wh_dims[1]; xx_width = wh_dims[1];
} else { } else {
// xx_width = x_dims[1] > wh_dims[1] ? wh_dims[1] : x_dims[1]; // ?
xx_width = wh_dims[1]; // xx_width = wh_dims[1]; //
PADDLE_ENFORCE(ctx->HasOutput("BatchedInput"), PADDLE_ENFORCE(ctx->HasOutput("BatchedInput"),
"Assert only one Output(BatchedInput) of LSTM."); "Assert only one Output(BatchedInput) of LSTM.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册