Commit Graph
25636 Commits
Author SHA1 Message Date
Omar Shrit eae19f7c28 Finishing the Alphadroput layer, tests are passing
Signed-off-by: Omar Shrit <omar@shrit.me>
2021-11-16 17:43:09 +00:00
Ryan Curtin c19e39a152 Turns out the MaxPooling adaptation I did was wrong---this seems more correct. 2021-11-14 22:30:39 -05:00
Ryan Curtin a1fd4829a1 Redo Convolution layer implementation. I think this is right but not 100% sure. 2021-11-14 22:30:15 -05:00
Ryan Curtin ca010221e9 Enable LeakyReLU layer. 2021-11-14 22:29:26 -05:00
Ryan Curtin 49954574e9 Add gradient test for Convolution layer... but it seems to work? 2021-11-01 19:17:24 -04:00
Ryan Curtin be5b4e5e01 Fix shape of input to reflect the number of input maps. 2021-10-20 17:46:03 -04:00
Ryan Curtin 19f06709d4 Use MakeAlias() to avoid accidental copies. 2021-10-19 10:18:14 -04:00
Ryan Curtin 081c32593d Bias should be one per output map. 2021-09-28 11:35:41 -04:00
Ryan Curtin 58f1718be1 Huh, it seems like this fixes ConvolutionLayerPaddingTest. 2021-09-28 11:22:07 -04:00
Ryan Curtin 6fff4457c6 Fix two more tests by making sure the inputs and outputs are right. 2021-09-20 11:09:36 -04:00
Ryan Curtin ad2cb74d05 Fix some tests. 2021-09-19 00:10:20 -04:00
Ryan Curtin 051205d78f Now at least the tests don't segfault. :) 2021-09-15 22:12:20 -04:00
Ryan Curtin 1152c75d23 Update some ann_layer tests. 2021-09-15 13:59:43 -04:00
Ryan Curtin f05590b878 Fix convolution. 2021-09-15 13:59:29 -04:00
Ryan Curtin 1cbdaa8ac5 Fix bug for uninitialized output. 2021-09-15 13:58:09 -04:00
Ryan Curtin 3a00d82a23 Some cleanups for the convolution layer. 2021-09-09 12:02:31 -04:00
Ryan Curtin 72c0f58a27 Fix some incorrect dimension usages. 2021-09-09 12:02:06 -04:00
Ryan Curtin a46542b25f Too much writing Julia... 2021-09-07 18:05:04 -04:00
Ryan Curtin 06f7b34d73 Fix max pooling bug. 2021-09-03 18:43:21 -04:00
Ryan Curtin c9df713091 First attempt at refactoring Padding, MaxPooling, and Convolution. 2021-08-21 10:44:43 -04:00
Ryan Curtin 498afa0ab7 Fix various bugs in the MultiLayer implementation. 2021-08-07 11:15:14 -04:00
Ryan Curtin 8105bb8583 Refactor to use MultiLayer inside an FFN. 2021-08-04 21:20:16 -04:00
Marcus Edel 5f7a9cd684 Filter some 'unused' layers. 2021-08-02 18:19:58 +02:00
Ryan Curtin 8a4e5b9bdf Refactor Highway (and fix MultiLayer). 2021-08-01 21:42:09 -04:00
Ryan Curtin 0375e7d575 Extra paranoia to avoid include boost::visitor... 2021-08-01 21:42:00 -04:00
Ryan Curtin d3972c16da Just make sure boost isn't included... 2021-08-01 21:41:49 -04:00
Ryan Curtin 57884df9f6 Split out into convenience function. 2021-08-01 21:41:33 -04:00
Ryan Curtin d136ac3df3 Hey, this is no longer needed! :) 2021-08-01 21:41:00 -04:00
Ryan Curtin be7eeb134d Merge branch 'ann-vtable-attempt' into HEAD 2021-07-23 16:45:08 -04:00
Ryan Curtin e3f4654a8a Update RBF<> layer so tests pass. 2021-07-23 16:43:46 -04:00
Marcus Edel ce3c3bcee6 Merge pull request #2 from rcurtin/ann-vtable-attempt
Further refactoring of ANN to remove boost::visitor.
2021-07-20 08:56:37 -04:00
Ryan Curtin 927fabff8a Adapt the last commented test in FeedforwardNetworkTest. 2021-07-13 17:53:33 -04:00
Ryan Curtin ed8881d2b6 Uncomment another test. 2021-07-13 17:48:46 -04:00
Ryan Curtin b05736d42c Make sure Parameters() returns the correct thing. 2021-07-13 17:48:34 -04:00
Ryan Curtin 522ebd11fe Adapt AddType<>. 2021-07-13 17:48:27 -04:00
Ryan Curtin c8c0797c9d Adapt a few more layers, and uncomment some more tests. 2021-07-13 17:19:57 -04:00
Ryan Curtin 2b7429594f Oops, I didn't really need to refactor this, but it might work. 2021-07-13 16:47:06 -04:00
Ryan Curtin ab67249f9f Fix additional warnings. 2021-07-08 17:49:57 -04:00
Ryan Curtin a5bb31b824 Remove debugging output. 2021-07-08 17:38:04 -04:00
Ryan Curtin 188759042c Fix a compilation warning. 2021-07-08 17:37:42 -04:00
Ryan Curtin 130890c85d Some additional refactoring and cleanups.
Notably, the adapted layers no longer need an input size.
2021-07-08 17:36:09 -04:00
Ryan Curtin 32b19eb7ef Refactor Reparametrization layer. 2021-07-07 19:08:32 -04:00
Ryan Curtin d180cc3639 Serialize output dimensions also. 2021-07-07 19:08:12 -04:00
Ryan Curtin a87672665c Remove unnecessary copy/move constructor/operators. 2021-07-07 18:24:15 -04:00
Ryan Curtin af68997a6c This function should be const. 2021-07-07 18:22:30 -04:00
Ryan Curtin 60fe292da9 These are all the default versions anyway (but don't consider inheritance...). 2021-07-07 18:22:10 -04:00
Ryan Curtin 30e4ff741b Update comments. 2021-07-06 16:22:37 -04:00
Ryan Curtin 7f7f56481f Remove unnecessary functions. 2021-07-05 21:53:33 -04:00
Ryan Curtin 30aca349cf Fix train/test modes. 2021-07-05 19:26:55 -04:00
Ryan Curtin ffba7a966c Remove unnecessary utilities. 2021-07-05 18:52:20 -04:00