Skip to content

Commit 4d373a8

Browse files
committed
fix
1 parent 0f9a91a commit 4d373a8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lite/kernels/arm/rnn_compute.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -801,11 +801,9 @@ void RnnCompute::Run() {
801801
}
802802
}
803803

804-
lite::arm::math::concat_func<float>(
805-
last_h_unbind_t, stride1.size(), state[0]);
804+
lite::arm::math::concat_func<float>(last_h_unbind_t, 0, state[0]);
806805
if ("LSTM" == mode) {
807-
lite::arm::math::concat_func<float>(
808-
last_c_unbind_t, stride2.size(), state[1]);
806+
lite::arm::math::concat_func<float>(last_c_unbind_t, 0, state[1]);
809807
}
810808

811809
// output_holder != output

0 commit comments

Comments
 (0)