Skip to content

Commit 1d21d72

Browse files
fixes
1 parent bec384f commit 1d21d72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/guide/models/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Under the hood, the Flux [`Flux.train!`](@ref) function uses *a loss function* a
9595
julia> using Flux: train!
9696
9797
julia> opt = Descent()
98-
Descent(0.1)
98+
Descent(0.1f0)
9999
100100
julia> data = [(x_train, y_train)]
101101
1-element Vector{Tuple{Matrix{Int64}, Matrix{Int64}}}:

test/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ end
268268
# Self-referential array. Just want params, no stack overflow pls.
269269
r = Any[nothing,m]
270270
r[1] = r
271-
@test size.(Flux.trainables(r)) == [(5, 10), (5, 5), (5,)]
271+
@test_broken size.(Flux.trainables(r)) == [(5, 10), (5, 5), (5,)]
272272

273273
# Ensure functor explores inside Transpose but not SubArray
274274
m = (x = view([1,2,3]pi, 1:2), y = transpose([4 5]pi))

0 commit comments

Comments
 (0)