Merge #1167
1167: Update basics.md r=dhairyagandhi96 a=mipals Removing superfluous ```using Flux``` Co-authored-by: Mikkel Paltorp Schmitt <mikkel.paltorp@gmail.com>
This commit is contained in:
commit
d89ee6cdba
|
@ -32,8 +32,6 @@ julia> gradient(f, [2, 1], [2, 0])
|
|||
But machine learning models can have *hundreds* of parameters! To handle this, Flux lets you work with collections of parameters, via `params`. You can get the gradient of all parameters used in a program without explicitly passing them in.
|
||||
|
||||
```jldoctest basics
|
||||
julia> using Flux
|
||||
|
||||
julia> x = [2, 1];
|
||||
|
||||
julia> y = [2, 0];
|
||||
|
|
Loading…
Reference in New Issue