From bcbecab8e814ae6ff147ae1882e7e9b56a9735da Mon Sep 17 00:00:00 2001 From: Carlo Lucibello Date: Sun, 15 Dec 2024 16:13:29 +0100 Subject: [PATCH] fix recurrence tutorial --- docs/src/guide/models/recurrence.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/guide/models/recurrence.md b/docs/src/guide/models/recurrence.md index 44834e9a8a..aa550a04ac 100644 --- a/docs/src/guide/models/recurrence.md +++ b/docs/src/guide/models/recurrence.md @@ -109,6 +109,7 @@ using Optimisers: AdamW function loss(model, x, y) ŷ = model(x) + y = stack(y, dims=2) return Flux.mse(ŷ, y) end