Skip to content

Commit

Permalink
modify unittest of lstm forward, *test=kunlun
Browse files Browse the repository at this point in the history
  • Loading branch information
helen88 committed Apr 8, 2022
1 parent 458dff9 commit 75582c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion paddle/fluid/operators/rnn_op_xpu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ class RnnXPUKernel : public framework::OpKernel<T> {
seq_len_tensor = operators::GetDataFromTensor(sequence_length);
}

auto& dev_ctx = ctx.template device_context<DeviceContext>();
int state_offset = pre_state[0]->dims()[1] * pre_state[0]->dims()[2];

for (int i = 0; i < num_layers; i++) {
Expand Down

1 comment on commit 75582c5

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.