Closed van-dai-vuong closed 3 months ago
This PR fixes the bugs when estimating delta that needed to update the LSTM's hidden states and parameters in the backward pass.
lstm_layer.cpp
lstm_layer_cuda.cu
delta_m
delta_m_out
lstm_delta_mean_var_z_worker
time_series_forecasting.py
You can test by running time_series_forecasting.py
Description
This PR fixes the bugs when estimating delta that needed to update the LSTM's hidden states and parameters in the backward pass.
Changes Made
lstm_layer.cpp
andlstm_layer_cuda.cu
, I changeddelta_m
todelta_m_out
in thelstm_delta_mean_var_z_worker
functions.time_series_forecasting.py
with CPU and GPU.Note for Reviewers
You can test by running
time_series_forecasting.py