Skip to content

Commit 8ccfd96

Browse files
committed
more type updates
1 parent 838bf37 commit 8ccfd96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hls4ml/templates/quartus/firmware/nnet_utils/nnet_recurrent.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,8 @@ void lstm(data_T data[CONFIG_T::n_timesteps * CONFIG_T::n_in], data2_T hidden_st
769769
data2_T hidden_state_temp[CONFIG_T::n_out] hls_register;
770770
data3_T cell_state[CONFIG_T::n_out][CONFIG_T::n_timesteps + 1] hls_register;
771771
data3_T cell_state_temp[CONFIG_T::n_out] hls_register;
772-
res_T h[CONFIG_T::n_out] hls_register;
773-
res_T c[CONFIG_T::n_out] hls_register;
772+
data2_T h[CONFIG_T::n_out] hls_register;
773+
data3_T c[CONFIG_T::n_out] hls_register;
774774
data_T in[CONFIG_T::n_in] hls_register;
775775

776776
// Set initially hidden state (output) to zero

0 commit comments

Comments
 (0)