FluxML/Flux.jl

More robust testing for AlphaDropout

Open

#1851 opened on Jan 27, 2022

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

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