Commit Graph

2623 Commits

Author SHA1 Message Date
bors[bot] fa5737fb5c
Merge #904
904: Documenting Optimiser Interface r=MikeInnes a=MikeInnes

I needed to add one extra commit to #875 before merging.

Co-authored-by: Dhairya Gandhi <dhairya@juliacopmuting.com>
Co-authored-by: Dhairya Gandhi <dhairya@juliacomputing.com>
Co-authored-by: Mike Innes <mike.j.innes@gmail.com>
2019-10-22 12:38:19 +00:00
Mike Innes 7ead2d6c7b typo 2019-10-22 13:36:39 +01:00
Dhairya Gandhi a9955fec8a correct train! syntax 2019-10-22 16:25:55 +05:30
Dhairya Gandhi 4a183aeaf0 make Zeros a dimensionlesss number 2019-10-22 16:11:27 +05:30
bors[bot] b03f34dcb6
Merge #902
902: Backticks and examples for normalise r=MikeInnes a=kshyatt



Co-authored-by: Katharine Hyatt <khyatt@flatironinstitute.org>
2019-10-21 14:35:45 +00:00
Katharine Hyatt b8b4bc48b9 Backticks and examples for normalise 2019-10-21 10:31:44 -04:00
DrChainsaw 530d4edb67 Fix for reading comprehension error (dim is not always 2 * (N-2)) Fix for ambiguous method sig 2019-10-20 16:03:01 +02:00
DrChainsaw 411ce5dbd8 Add SamePad for pooling layers 2019-10-20 13:43:39 +02:00
DrChainsaw fc123d6279 Add SamePad for conv layers 2019-10-20 13:43:23 +02:00
Dhairya Gandhi 776023ddad fixes 2019-10-10 20:35:28 +05:30
Dhairya Gandhi 4477dd8d54 reviews 2019-10-10 20:27:11 +05:30
Dhairya Gandhi a55878453c
typo
Co-Authored-By: Mike J Innes <mike.j.innes@gmail.com>
2019-10-10 20:16:29 +05:30
Dhairya Gandhi 623ee2c29c
typo
Co-Authored-By: Mike J Innes <mike.j.innes@gmail.com>
2019-10-10 20:16:00 +05:30
Dhairya Gandhi f19066ee29 more docstrings 2019-10-10 16:48:12 +05:30
thebhatman d591b2b59e Removed colon and capitalised 2019-10-09 21:36:40 +05:30
Dhairya Gandhi fe52689cfe in depth docstrings 2019-10-09 16:16:11 +05:30
thebhatman 96a23c295c Changes to docs 2019-10-09 14:53:03 +05:30
dsweber2 3b7b780d39 super simple test 2019-10-08 23:04:31 -07:00
Dhairya Gandhi c85bad4427 replace weight with filter 2019-10-08 20:26:09 +05:30
Dhairya Gandhi 49ea43e711 ZeroType => Zeros 2019-10-08 20:02:04 +05:30
bors[bot] af0dcb2c63
Merge #882
882: Check if CUDA availability changed during init. r=MikeInnes a=maleadt

With this PR, Flux checks using CUDAapi if CUDA is available during initialization, and forces recompilation if that does not agree with what was decided during precompilation. This avoids the scenario where Flux was precompiled without GPU support, consequently not allowing use of the GPU even if the user fixed his CUDA/GPU set-up because that does not force recompilation (and we can't add precompilation dependencies on stuff that doesn't exist).

However, we can't do the same for the case where we have a GPU/CUDA but CuArrays fails to import (checking if it imports during `__init__` would be much too expensive, if even possible), so this PR removes support for having CUDA/a GPU but CuArrays being broken. That's a little risky now that Flux depends on CuArrays, but the package is pretty mature and I haven't seen many bug reports failing to load it recently.

Fixes https://github.com/FluxML/Flux.jl/pull/852#issuecomment-538028314

cc @MikeInnes @xukai92

Co-authored-by: Tim Besard <tim.besard@gmail.com>
2019-10-08 13:24:49 +00:00
Dhairya Gandhi 95c5845e99 document bias switch 2019-10-08 17:54:01 +05:30
Dhairya Gandhi b596faaffa tests bias switch 2019-10-08 17:18:39 +05:30
Dhairya Gandhi 040697fb2b add bias and weight kwarg 2019-10-08 17:18:19 +05:30
Dhairya Gandhi f3904b4e04 add ZeroType back 2019-10-08 17:17:36 +05:30
Dhairya Gandhi a1e826b888 fixes 2019-10-06 05:10:56 +05:30
Dhairya Gandhi 214f71f492 add N 2019-10-06 04:55:33 +05:30
Dhairya Gandhi 2ae3ad3b31 doc fixes 2019-10-06 04:46:13 +05:30
Dhairya Gandhi d00f833c17 rm ZeroType 2019-10-06 04:44:50 +05:30
Dhairya Gandhi e97d61f257 fixes 2019-10-06 04:42:26 +05:30
Dhairya Gandhi 48a305bd21 ditto remaining layers 2019-10-06 04:41:06 +05:30
Dhairya Gandhi 55ef7c1aba add weight and bias kwargs 2019-10-06 04:25:23 +05:30
Dhairya Gandhi b503741651 expanded docstrings 2019-10-04 14:46:03 +05:30
Tim Besard 8aea15e6e0 Demote to const variables. 2019-10-03 21:28:55 +02:00
Tim Besard 2369b2b3fd Add an environment variable to disable CUDA usage. 2019-10-03 21:27:54 +02:00
Tim Besard 63d196aa37 Check if CUDA availability changed during init. 2019-10-03 20:05:32 +02:00
thebhatman ec886c8ce8 Added docstring for hinge loss 2019-10-03 21:13:09 +05:30
Dhairya Gandhi 1fe321781b add to docs 2019-10-01 21:29:18 +05:30
Dhairya Gandhi dced8c04e5 use ZeroType 2019-10-01 21:25:07 +05:30
bors[bot] 0d3aa8fa5e
Merge #877
877: Fix functor's `params!` to work with complex numbers r=MikeInnes a=PhilipVinc

I believe you forgot to define `params!` for complex-valued arrays.

If I'm wrong, feel free to close this.

Co-authored-by: Filippo Vicentini <filippovicentini@gmail.com>
2019-10-01 15:11:55 +00:00
Manjunath Bhat 2b30319a55
Merge branch 'master' into patch-6 2019-09-30 21:05:02 +05:30
thebhatman ec35e9cbaa Loss functions docs added in layers.md 2019-09-30 21:02:13 +05:30
thebhatman 6e289ef939 Merge branch 'patch-6' of https://github.com/thebhatman/Flux.jl into patch-6 2019-09-30 20:55:44 +05:30
Filippo Vicentini 606fe58854
Use <:Number 2019-09-29 12:33:02 +02:00
Filippo Vicentini 14e94c291e
Make it actually work 2019-09-29 12:28:01 +02:00
Filippo Vicentini d91677f651
Fix `params!` to work with complex numbers 2019-09-29 12:23:41 +02:00
Dhairya Gandhi 8013c728b1 clearer optimiser docstrings 2019-09-28 16:09:00 +05:30
Dhairya Gandhi 0175485a80 fixup 2019-09-27 22:08:25 +05:30
Dhairya Gandhi 8bb0db7d0c opt docstrings 2019-09-27 22:04:53 +05:30
Dhairya Gandhi 32ac71734d optimiser interface docs 2019-09-27 21:43:59 +05:30