Skip to content

Commit 16690b0

Browse files
committed
fix tensorflow rnnbase
1 parent 5545441 commit 16690b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayerx/backend/ops/tensorflow_nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2301,7 +2301,7 @@ def _rnn_forward(self, x, h, c=None):
23012301
else:
23022302
for j in range(time_step):
23032303
input = pre_layer[j, :, :]
2304-
cell = self.rnn_cell(weight_hh, weight_ih, bias_ih, bias_hh, self.act_fn)
2304+
cell = self.rnn_cell(weight_ih, weight_hh, bias_ih, bias_hh, self.act_fn)
23052305
step_out, h_i = cell(input, h_i)
23062306
y.append(step_out)
23072307
h_out.append(h_i)

0 commit comments

Comments
 (0)