Commit Graph

2516 Commits

Author SHA1 Message Date
janEbert 684570660a Update doctest version guard (1.2 -> 1.4)
And add the same to docs/make.jl
2020-04-06 13:53:36 +02:00
janEbert 0e9bc82626 Loss -> Loss Functions 2020-04-06 13:52:27 +02:00
janEbert 2a65a30399 Fix doctests in runtests.jl 2020-04-05 13:58:27 +02:00
janEbert 8d2d15aa70 Remove links to OneHot{Vector,Matrix}
Since they aren't documented, we only get a 404 link.
2020-04-04 23:06:56 +02:00
janEbert 73d631f5cd Fix and improve docs
Add missing docstrings, improve existing ones, fix links to functions
or files.
2020-04-04 23:00:34 +02:00
janEbert 2ce5f6d9bf Further docstring improvements in src/
Some had to be re-done after the rebase
2020-04-04 22:59:45 +02:00
janEbert 64ce32ddcf Fix problems due to rebase 2020-04-04 22:55:14 +02:00
janEbert e16c24a9b8 General minuscule improvements 2020-04-04 19:43:28 +02:00
janEbert a614983e0b Improve parameter lists in optimisers.jl 2020-04-04 18:40:20 +02:00
janEbert aaa0a82b74 Slight modifications in `recurrent` docstrings 2020-04-04 18:21:10 +02:00
janEbert 3b913cd501 Fix rebase changes
- Remove `Flux.testmode!` reference (the function no longer exists).
- Change TrackedArray to Array in doctest (Tracker -> Zygote).
2020-04-04 18:21:10 +02:00
janEbert ff9198b939 Add datasets to docs
All the relevant functions. Perhaps discuss a consistent API, describe
it in the docs and then only document the modules.
2020-04-04 18:19:20 +02:00
janEbert 740a59d0a6 Add missing docstrings to `src/data`. 2020-04-04 18:16:46 +02:00
janEbert ba80c2e8ab Improve whitespaces in docs 2020-04-04 18:16:46 +02:00
janEbert ab86e350f2 Improve docstrings
Improvements like...
   - fixing typos,
   - removing trailing and double whitespaces,
   - using `jldoctest` blocks where applicable,
   - fixing, updating or correctly setting up existing doctests,
   - improving consistency (for example, always use "# Examples" instead
     of other variants),
   - removing empty lines between docstrings and functions,
   - instead of mentioning keywords, put them into the docstring,
   - adding some missing but useful keywords,
   - adding references (`@ref`),
   - using LaTeX math where applicable, and
   - linking papers.

Debatable stuff that is untouched:
   - BE/AE s/z irregularities ("normalise" versus "normalize") since
     most papers use the AE version while the Flux source code was
     written with BE spelling.
   - Names of normalization functions are capitalized
     ("Batch Normalization" instead of "batch normalization").
2020-04-04 18:16:46 +02:00
janEbert c76b7315ac Add loss and utility functions to docs 2020-04-04 17:39:19 +02:00
janEbert c222e1b124 Add missing docstrings to `src/utils.jl`
Not sure about the `stack`, `unstack` and `unsqueeze` functions.
2020-04-04 17:38:25 +02:00
janEbert 2f955a33cd `src/layers/stateless.jl`: Add missing docstrings 2020-04-04 17:36:23 +02:00
janEbert 9b68423e64 Import (`using`) Flux for all doctests 2020-04-04 17:22:08 +02:00
janEbert 1bf8dc2d5b Update Documenter version and fix warnings
0.23.2 -> 0.23.3
2020-04-04 17:22:08 +02:00
bors[bot] 6b37ce3986
Merge #1098
1098: Allow CuArrays v2.x r=dhairyagandhi96 a=ararslan



Co-authored-by: Tim Besard <tim.besard@gmail.com>
Co-authored-by: Alex Arslan <ararslan@comcast.net>
Co-authored-by: Dhairya Gandhi <dhairya@juliacopmuting.com>
2020-03-26 09:43:21 +00:00
Dhairya Gandhi 6939e03fc6 bump CuArrays version 2020-03-26 14:03:55 +05:30
Dhairya Gandhi 119a66a7cd Merge remote-tracking branch 'origin/tb/cuarraystyle' into aa/cuarrays 2020-03-26 13:42:06 +05:30
Alex Arslan e85a5d8573
Update CUDAdrv for Tim's bug fix 2020-03-25 15:23:07 -07:00
Alex Arslan 49ba121159
Update Manifest.toml 2020-03-25 12:48:29 -07:00
Alex Arslan 347f53adf6
Allow CuArrays v2.x 2020-03-25 10:58:39 -07:00
bors[bot] 240ab1147f
Merge #1096
1096: fix doc typos r=dhairyagandhi96 a=wenjie-p



Co-authored-by: yuebanyishenqiu <thisispwj@outlook.com>
2020-03-22 06:26:11 +00:00
yuebanyishenqiu 1511778267 fix typos 2020-03-22 09:41:29 +08:00
bors[bot] 1605a01039
Merge #1083
1083: Fix typo in the docstrings of AlphaDropout r=CarloLucibello a=AzamatB



Co-authored-by: AzamatB <aberdysh@gmail.com>
2020-03-14 09:56:05 +00:00
AzamatB 85a9493722
Fix typo in the docstrings of AlphaDropout 2020-03-14 15:42:00 +06:00
bors[bot] 5e09113586
Merge #1080
1080: CompatHelper: bump compat for "Colors" to "0.12" r=dhairyagandhi96 a=github-actions[bot]

This pull request changes the compat entry for the `Colors` package from `0.8, 0.9, 0.10, 0.11` to `0.8, 0.9, 0.10, 0.11, 0.12`.

This keeps the compat entries for earlier versions.

Note: I have not tested your package with this new compat entry. It is your responsibility to make sure that your package tests pass before you merge this pull request.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-14 01:47:45 +00:00
github-actions[bot] bca74213ee CompatHelper: bump compat for "Colors" to "0.12" 2020-03-14 00:12:33 +00:00
bors[bot] 8930021b47
Merge #1078
1078: CompatHelper: bump compat for "CodecZlib" to "0.7" r=CarloLucibello a=github-actions[bot]

This pull request changes the compat entry for the `CodecZlib` package from `0.5, 0.6` to `0.5, 0.6, 0.7`.

This keeps the compat entries for earlier versions.

Note: I have not tested your package with this new compat entry. It is your responsibility to make sure that your package tests pass before you merge this pull request.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-13 11:49:02 +00:00
github-actions[bot] 69e96ed1c1 CompatHelper: bump compat for "CodecZlib" to "0.7" 2020-03-13 00:13:04 +00:00
bors[bot] a874bef6f9
Merge #1076
1076: fix typo in the Dropout docs r=dhairyagandhi96 a=AzamatB



Co-authored-by: AzamatB <aberdysh@gmail.com>
2020-03-10 09:40:28 +00:00
AzamatB f0d866b2fd
fix typo in the Dropout docs 2020-03-10 12:44:19 +06:00
bors[bot] d4cf1436df
Merge #950
950: added GlobalMaxPool, GlobalMeanPool, and flatten layers r=CarloLucibello a=gartangh



Co-authored-by: Garben Tanghe <garben.tanghe@gmail.com>
2020-03-08 14:27:10 +00:00
Garben Tanghe fc3af681ec updated documentation 2020-03-08 14:22:09 +01:00
Garben Tanghe 746e3310f1 removed Flatten struct
updated documentation
2020-03-08 14:22:03 +01:00
Garben Tanghe 82e16a5b29 split up Flatten layer to use the flatten function 2020-03-08 14:21:59 +01:00
Garben Tanghe 3e14bd878c added GlobalMaxPool, GlobalMeanPool, and Flatten layers 2020-03-08 14:18:48 +01:00
Dhairya Gandhi 5a4f1932a6 closes #1071 2020-03-04 17:22:45 +05:30
bors[bot] df3f904f7c
Merge #1072
1072: update freeze docs r=CarloLucibello a=CarloLucibello



Co-authored-by: CarloLucibello <carlo.lucibello@gmail.com>
2020-03-04 03:47:45 +00:00
CarloLucibello 12106ff4cc update freeze docs 2020-03-04 04:45:41 +01:00
bors[bot] 94ba1e8ede
Merge #1028 #1070
1028: Common questions answered in docs r=CarloLucibello a=dhairyagandhi96

cc @MikeInnes 

1070: Prevent breakage due to new `active` field in normalise layers r=CarloLucibello a=ianshmean

Prevents breakage where the normalise structs, such as `BatchNorm`, have been directly defined but missing the new `active` field

cc. @darsnack 

Co-authored-by: Dhairya Gandhi <dhairya@juliacopmuting.com>
Co-authored-by: Dhairya Gandhi <dhairya@juliacomputing.com>
Co-authored-by: Ian <i.r.butterworth@gmail.com>
2020-03-04 00:10:39 +00:00
bors[bot] af23a5756c
Merge #1053
1053: Added Some Loss functions with some doc improvements r=CarloLucibello a=AdarshKumar712

Added the following loss functions with tests:
1. mae
2. mean squared logarithmic error
3. huber loss
4. squared hinge loss
5. dice coeff loss
6. tversky loss 

Also added some documentation improvements for few other functions. 

Co-authored-by: Adarsh Kumar <45385384+AdarshKumar712@users.noreply.github.com>
2020-03-03 23:56:21 +00:00
Ian 61f66e3dcd remove unnecessary helper for AlphaDropout 2020-03-03 13:20:02 -05:00
Ian 078ad7dd50 bump version to 0.10.3 2020-03-03 13:05:23 -05:00
Ian d63fcf2cb4 add depreciation reminder 2020-03-03 13:05:03 -05:00
Ian d9ea5fba76 add `active` helpers for other normalise layers 2020-03-03 11:55:39 -05:00