Skip to content

Commit cb4c61b

Browse files
fix typo in recurrence.md (#2556)
1 parent 6c059b4 commit cb4c61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/guide/models/recurrence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function StackedRNN(d::Int; num_layers::Int)
202202
return StackedRNN(layers, states0)
203203
end
204204

205-
function (m::StackedRNN)(x)
205+
function (rnn::StackedRNN)(x)
206206
for (layer, state0) in zip(rnn.layers, rnn.states0)
207207
x = layer(x, state0)
208208
end

0 commit comments

Comments
 (0)