junhyukoh / caffe-lstm

LSTM implementation on Caffe
Other
493 stars 250 forks source link

bug? #28

Open linxi1158 opened 5 years ago

linxi1158 commented 5 years ago

caffe-lstm / src / caffe / layers / lstm_layer.cpp 166行 caffeadd(4*H, pre_gate_t, h_to_gate, pre_gate_t) ---->caffeadd(4*H, pre_gate_t, h_to_gate_t, pre_gate_t) 与185行 h_to_gate_t += 4*H_对应

ZhaoYi1222 commented 5 years ago

line 154 : Dtype* h_to_gate_t = h_to_gate;

Walstruzz commented 3 years ago

I think it is a bug.