Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Jan 29, 2023
1 parent b400b12 commit 2aa0d3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/tutorials/linear_regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ julia> dataset = BostonHousing();
julia> x, y = BostonHousing(as_df=false)[:];
julia> x, y = Float32.(x), Float32.(y)
julia> x, y = Float32.(x), Float32.(y);
```

We can now split the obtained data into training and testing data -
Expand Down
2 changes: 1 addition & 1 deletion src/layers/normalise.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ julia> m = Chain(Dense(1000 => 1000), Dropout(0.5));
julia> Flux.trainmode!(m);
julia> y = m(ones(1000));
julia> y = m(ones32(1000));
julia> isapprox(count(==(0), y) / length(y), 0.5, atol=0.1)
true
Expand Down

0 comments on commit 2aa0d3a

Please sign in to comment.