From a369c8025bec70dab44c1d22b09b53882b1b552f Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Wed, 19 Dec 2018 15:54:12 +0000 Subject: [PATCH] fix typo of mix impl of lstm test=develop --- paddle/fluid/operators/jit/more/mix/mix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/jit/more/mix/mix.cc b/paddle/fluid/operators/jit/more/mix/mix.cc index 924278eaa..d9ecd7672 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); -- GitLab