- Removed disabled code

test=develop
revert-13787-revert-13637-optimize-opyreader
Jacek Czaja 6 years ago
parent f9da2d6416
commit fd31b54cf1

@ -97,7 +97,6 @@ void FusedEmbeddingFCLSTMOp::InferShape(
if (ctx->Attrs().Get<bool>("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.");

Loading…
Cancel
Save