From f255c946a9f400490b26452ce58e028ff79faef9 Mon Sep 17 00:00:00 2001 From: micha Date: Sat, 11 Nov 2023 16:41:25 +0100 Subject: [PATCH] Fix typo in docs/src/tutorials/2021-01-26-mlp.md --- docs/src/tutorials/2021-01-26-mlp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/2021-01-26-mlp.md b/docs/src/tutorials/2021-01-26-mlp.md index 7f29543345..2af8d3645c 100644 --- a/docs/src/tutorials/2021-01-26-mlp.md +++ b/docs/src/tutorials/2021-01-26-mlp.md @@ -90,7 +90,7 @@ Note that we use the functions [Dense](https://fluxml.ai/Flux.jl/stable/models/l ## Loss functions -Now, we define the loss function `loss_all`. It expects a DataLoader object and the `model` function we defined aboved as arguments. Notice that this function iterates through the `dataloader` object in mini-batches and uses the function [logitcrossentropy](https://fluxml.ai/Flux.jl/stable/models/losses/#Flux.Losses.logitcrossentropy) to compute the difference between the predicted and actual values. +Now, we define the loss function `loss_all`. It expects a DataLoader object and the `model` function we defined above as arguments. Notice that this function iterates through the `dataloader` object in mini-batches and uses the function [logitcrossentropy](https://fluxml.ai/Flux.jl/stable/models/losses/#Flux.Losses.logitcrossentropy) to compute the difference between the predicted and actual values. ```julia function loss_all(dataloader, model)