Skip to content

Commit bcbecab

Browse files
fix recurrence tutorial
1 parent 0683976 commit bcbecab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/guide/models/recurrence.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ using Optimisers: AdamW
109109

110110
function loss(model, x, y)
111111
= model(x)
112+
y = stack(y, dims=2)
112113
return Flux.mse(ŷ, y)
113114
end
114115

0 commit comments

Comments
 (0)