Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force Float32 as type presented to Flux chains #276

Merged
merged 18 commits into from
Sep 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
and again
ablaom committed Sep 26, 2024
commit 3bf09029131d058a641b70eb17122586636efdfe
2 changes: 1 addition & 1 deletion test/classifier.jl
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ end
# check different resources (CPU1, CUDALibs, etc)) give about the same loss:
reference = losses[1]
println("losses for each resource: $losses")
@test all(x -> abs(x - reference) / reference < 1e-2, losses[2:end])
@test all(x -> abs(x - reference) / reference < 0.03, losses[2:end])


# # NEURAL NETWORK BINARY CLASSIFIER