Skip to content

Commit

Permalink
Update docs/src/guide/models/quickstart.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott authored Dec 5, 2024
1 parent 3976afd commit 234295e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/guide/models/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ If you haven't, then you might prefer the [Fitting a Straight Line](overview.md)
```julia
# Install everything, including CUDA, and load packages:
using Pkg; Pkg.add(["Flux", "CUDA", "cuDNN", "ProgressMeter"])
using Flux, CUDA, Statistics, ProgressMeter
using Flux, Statistics, ProgressMeter
using CUDA # optional
device = gpu_device() # function to move data and model to the GPU

# Generate some data for the XOR problem: vectors of length 2, as columns of a matrix:
Expand Down

0 comments on commit 234295e

Please sign in to comment.