diff --git a/paddle/fluid/operators/jit/more/mix/mix.cc b/paddle/fluid/operators/jit/more/mix/mix.cc index 924278eaa23e20aa2aa0e356525ae6f4a54cd419..d9ecd7672e843aa3765340c2b5b2411d23170f9f 100644 --- a/paddle/fluid/operators/jit/more/mix/mix.cc +++ b/paddle/fluid/operators/jit/more/mix/mix.cc @@ -77,7 +77,7 @@ void LSTMCtHt(lstm_t* step, const lstm_attr_t* attr) { auto vadd_d2 = Get, platform::CPUPlace>(d2); auto act_gate_d = getActFunc(attr->act_gate, d); auto act_gate_d2 = getActFunc(attr->act_gate, d2); - auto act_gate_d3 = getActFunc(attr->act_gate, d2); + auto act_gate_d3 = getActFunc(attr->act_gate, d3); auto act_cand_d = getActFunc(attr->act_cand, d); auto act_cell_d = getActFunc(attr->act_cell, d);