Relax! Flux is the ML library that doesn't make you tensor
Go to file
bors[bot] 069d228693
Merge #1044
1044: Add testmode! back for normalization layers r=CarloLucibello a=darsnack

Fixed #909 

I added `testmode!(m, mode)` back to Flux as per v0.9. Now the `mode` can be `false`, `true`, or `:auto`/`nothing` with the default being `:auto` for newly constructed layers. In `:auto` mode, the `istraining()` functions added in v0.10 are used to determine whether we are evaluating within an AD trace or not.

Also plan on adding a doc section in an additional commit.

Co-authored-by: Kyle Daruwalla <daruwalla@wisc.edu>
2020-03-01 19:14:07 +00:00
.github Merge pull request #1030 from JuliaTagBot/master 2020-02-19 21:47:31 +05:30
docs Merge branch 'master' into feature/istraining 2020-03-01 12:32:15 -06:00
paper use https instead of http for web links 2019-04-25 11:04:03 +00:00
src Add "during X phase" phrasing to testmode!/trainmode! docstring. 2020-03-01 12:49:30 -06:00
test Merge branch 'master' into feature/istraining 2020-03-01 12:32:15 -06:00
.gitattributes Restore purity 2019-09-08 16:15:35 +01:00
.gitignore modernize documentation 2019-01-10 15:06:11 +01:00
.gitlab-ci.yml test on julia 1.3+ 2020-01-13 13:45:40 +05:30
.travis.yml doc tests on julia 1.3 2020-01-13 14:10:34 +05:30
CITATION.bib Create CITATION.bib 2019-05-04 18:49:19 -04:00
LICENSE.md Update LICENSE.md 2019-04-15 16:59:16 -04:00
Manifest.toml add DataLoader 2020-02-29 18:50:59 +01:00
NEWS.md Merge branch 'dg/news' of https://github.com/FluxML/Flux.jl into dg/news 2019-11-28 23:57:30 +05:30
Project.toml Debump version 2020-03-01 13:11:07 -06:00
README.md Update README.md 2019-12-19 09:44:17 -05:00
bors.toml bump version to 10.1 2020-01-13 13:41:25 +05:30

README.md

Build Status DOI

Flux is an elegant approach to machine learning. It's a 100% pure-Julia stack, and provides lightweight abstractions on top of Julia's native GPU and AD support. Flux makes the easy things easy while remaining fully hackable.

] add Flux

See the documentation or the model zoo for examples.

If you use Flux in your research, please cite our work.