FluxML/Flux.jl

More robust testing for AlphaDropout

Open

#1,851 opened on Jan 27, 2022

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Julia (619 forks)batch import
good first issuehelp wantedtesting

Repository metrics

Stars
 (4,725 stars)
PR merge metrics
 (Avg merge 3d 6h) (6 merged PRs in 30d)

Description

We currently borrow from https://github.com/pytorch/pytorch/blob/v1.10.0/test/cpp/api/modules.cpp#L1337-L1338, but some sort of goodness-of-fit test would be more robust than a simple range. Sampling the layer outputs should have a negligible impact on test runtime.

Contributor guide