Commit Graph

96 Commits

Author SHA1 Message Date
Lyndon White df84628c29 Require weight and bias to be AbstractArrays 2020-06-10 12:06:57 +01:00
Mike J Innes a35335db00 update for functors.jl change 2020-04-14 15:21:45 +01: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 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
Dhairya Gandhi 5a4f1932a6 closes #1071 2020-03-04 17:22:45 +05:30
Kyle Daruwalla 4cebf36361
Merge branch 'master' into feature/istraining 2020-03-01 12:32:15 -06:00
Kyle Daruwalla 5cbd2cecf2 Changed testmode! to return model 2020-02-29 16:09:59 -06:00
Kyle Daruwalla 924b8f49ec Updated to place function definitions in the appropriate places. 2020-02-21 15:10:28 -06:00
Kyle Daruwalla a64378b112 Switched to using NNlib for conv.jl outdims. 2019-12-07 13:21:26 -06:00
Kyle Daruwalla 6265b1fa39 Added tests for outdims 2019-12-05 22:54:25 -06:00
Kyle Daruwalla 31dda0ce6c Updated with all basic and conv layers outdims 2019-12-05 21:57:10 -06:00
Kyle Daruwalla b4ed16ad9c Added outdims for some basic layers 2019-12-03 22:48:48 -06:00
dsweber2 20eb840882 keeping activations separate 2019-11-15 12:03:08 -08:00
dsweber2 58c794702d simpler test 2019-11-14 14:05:53 -08:00
dsweber2 0fe3ac4e77 bring activations into function call 2019-11-14 13:40:52 -08:00
dsweber2 6475f6a43e recursive way of doing activations 2019-11-14 13:40:52 -08:00
dsweber2 99679f7e16 deal with empty Chain 2019-11-14 13:40:52 -08:00
dsweber2 d0202a2945 adding the extra commits broke the accumulate version 2019-11-14 13:40:52 -08:00
dsweber2 cdaaca8cfa make activations zygote friendly 2019-11-14 13:40:29 -08:00
Michael Abbott 806e0c5c57 line 2019-09-25 15:20:13 +02:00
Michael Abbott 4245d9acad eg 2019-09-25 15:18:40 +02:00
Michael Abbott 2de84ce79f simplify 2019-09-25 13:59:32 +02:00
Michael Abbott 1a1a96571a +Chain 2019-09-25 13:47:29 +02:00
Michael Abbott 19830c71b1 fix printing of SkipConnection 2019-09-25 13:37:01 +02:00
Mike Innes cabb81e30b internal rename 2019-09-19 15:53:31 +01:00
Mike Innes 6529dbcbe6 functor refactor 2019-09-19 15:22:11 +01:00
Mike Innes de2049450b docs mostly fixed 2019-09-10 15:17:07 +01:00
Mike J Innes 67c38b3099 Merge branch 'master' into zygote 2019-09-06 15:18:58 +01:00
Mike Innes b8fabad337 deprecate param/data 2019-08-19 14:35:48 +01:00
Mike J Innes 7c111e7cde fixes #645
fixes #831
2019-08-09 13:53:11 +01:00
thebhatman c7c0ee2cbc Resolving Merge Conflicts 2019-06-12 21:34:42 +05:30
thebhatman ef63f80644 No ops defined for param and data 2019-06-10 18:24:18 +05:30
Bruno Hebling Vieira 796a2957c9 Added news and removed type annotation from SkipConnection structure 2019-05-13 16:33:31 -03:00
Bruno Hebling Vieira e7d76b8423 Added the SkipConnection layer and constructor
Added missing export

Corrected channel placement

Dimension 4 cannot be assumed to always be the Channel dimension

Deprecation of `treelike`

Code now makes use of `@treelike` macro instead of the deprecated `treelike` function (it worked on my end because I'm on Julia 0.7, while Julia 1.0 deprecated stuff)

Update basic.jl

Renaming to SkipConnection

* Update Flux.jl

* Update basic.jl

Updated `SkipConnection` with a `connection` field

I'm pretty sure I broke something now, but this PR should follow along these lines `cat` needs special treatment (the user can declare his own `concatenate` connection, but I foresee it's going to be used often so we can simply define special treatment)

Forgot to remove some rebasing text

Forgot to remove some more rebasing text

Removed local copy and default cat method from the function calls

Adjusted some more types for inference, could improve on this as well

Re-placed some left-over spaces
2019-05-13 16:32:00 -03:00
Mike J Innes c313be8e95 rm data/param 2019-05-02 18:52:09 -07:00
Zachary P Christensen 83eb5a1df6
Fix typo in Maxout 2019-04-19 17:02:26 -04:00
Johnny Chen a300376f71
fix a typo in comment
`inplementation` --> `implementation`
2019-04-05 19:19:30 +08:00
JohnnyChen 3cafbbad02 simplify the implementation 2019-04-05 18:44:00 +08:00
JohnnyChen de7a5f4024 correct the function behavior; support Any type 2019-04-05 18:16:44 +08:00
JohnnyChen 82595648e2 change 4-spaces tab to 2-spaces tab 2019-03-28 22:40:24 +08:00
JohnnyChen 13c58494ec add x into results 2019-03-28 19:28:59 +08:00
JohnnyChen 5c2a071713 add support for 0-element Chain 2019-03-28 17:20:41 +08:00
JohnnyChen ccfe0f8720 naive implementation of activations 2019-03-28 17:07:04 +08:00
Lyndon White f0cc4a328d make Maxout trainable 2019-03-25 16:02:46 +00:00
Lyndon White 401d3da884 no arg closures 2019-03-21 17:04:52 +00:00
Lyndon White 7d247ea25b update docstring 2019-03-18 12:20:46 +00:00
Lyndon White ca68bf9bec correct casing 2019-03-18 12:20:46 +00:00
Lyndon White 838047f708 fix docs 2019-03-18 12:19:44 +00:00
Kristoffer Carlsson b84a60e74e Update src/layers/basic.jl
Co-Authored-By: oxinabox <oxinabox@ucc.asn.au>
2019-03-18 12:19:44 +00:00