Open linxi1158 opened 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_对应
line 154 : Dtype* h_to_gate_t = h_to_gate;
Dtype* h_to_gate_t = h_to_gate;
I think it is a bug.
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_对应