Skip to content

Commit 2aa0d3a

Browse files
committed
fixup
1 parent b400b12 commit 2aa0d3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/tutorials/linear_regression.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ julia> dataset = BostonHousing();
273273
274274
julia> x, y = BostonHousing(as_df=false)[:];
275275
276-
julia> x, y = Float32.(x), Float32.(y)
276+
julia> x, y = Float32.(x), Float32.(y);
277277
```
278278

279279
We can now split the obtained data into training and testing data -

src/layers/normalise.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ julia> m = Chain(Dense(1000 => 1000), Dropout(0.5));
8181
8282
julia> Flux.trainmode!(m);
8383
84-
julia> y = m(ones(1000));
84+
julia> y = m(ones32(1000));
8585
8686
julia> isapprox(count(==(0), y) / length(y), 0.5, atol=0.1)
8787
true

0 commit comments

Comments
 (0)