Skip to content

Commit

Permalink
Merge pull request #89 from sisl/patch/flux
Browse files Browse the repository at this point in the history
remove mention of Tracker to keep up with Flux
  • Loading branch information
tomerarnon committed Feb 28, 2020
2 parents 606a5d6 + 7e79138 commit 4135f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/flux.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ activation(::typeof(relu)) = ReLU()

layer(x) = error("Can't use $x as a layer.")

layer(d::Dense) = Layer(Tracker.data(d.W), Tracker.data(d.b), activation(d.σ))
layer(d::Dense) = Layer(data(d.W), data(d.b), activation(d.σ))

network(c::Chain) = Network([layer.(c.layers)...])

Expand Down

0 comments on commit 4135f34

Please sign in to comment.