Skip to content

Commit

Permalink
Merge #1707
Browse files Browse the repository at this point in the history
1707: Fix #1706 r=DhairyaLGandhi a=rongcuid

Added qualification for `params` in docs

Fixes #1706 

### PR Checklist

- [ ] Entry in NEWS.md
- [X] Documentation, if applicable


Co-authored-by: Rongcui Dong <rongcuid@users.noreply.github.com>
  • Loading branch information
bors[bot] and rongcuid authored Sep 7, 2021
2 parents 2468a06 + e081ca0 commit 9a395b2
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 @@ -113,7 +113,7 @@ julia> predict.bias
The dimensions of these model parameters depend on the number of inputs and outputs. Since models can have hundreds of inputs and several layers, it helps to have a function to collect the parameters into the data structure Flux expects:

```
julia> parameters = params(predict)
julia> parameters = Flux.params(predict)
Params([[-0.99009055], [0.0]])
```

Expand Down

0 comments on commit 9a395b2

Please sign in to comment.