Skip to content

Commit

Permalink
Merge #1784
Browse files Browse the repository at this point in the history
1784: Fix link to train in the docs r=ToucheSir a=logankilpatrick

Right now, in the dev docs, the first link to train on this page works and the 2nd one doesn't so I copied the link to hopefully make the second one work.

Co-authored-by: Logan Kilpatrick <[email protected]>
  • Loading branch information
bors[bot] and logankilpatrick authored Nov 26, 2021
2 parents 85c17ee + 7dc2070 commit 1809dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/models/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ julia> predict.weight in parameters, predict.bias in parameters

The first parameter is the weight and the second is the bias. Flux will adjust predictions by iteratively changing these parameters according to the optimizer.

This optimiser implements the classic gradient descent strategy. Now improve the parameters of the model with a call to [`train!`](@ref) like this:
This optimiser implements the classic gradient descent strategy. Now improve the parameters of the model with a call to [`Flux.train!`](@ref) like this:

```
julia> train!(loss, parameters, data, opt)
Expand Down

0 comments on commit 1809dd0

Please sign in to comment.