Commit Graph
25613 Commits
Author SHA1 Message Date
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
Ryan Curtin a3dd3739c6 Change 'deterministic' to 'training'. 2021-07-05 18:51:18 -04:00
Ryan Curtin afa76d6ae8 Make sure that we save layerOutputs.back() in case we need it later... 2021-07-04 16:05:47 -04:00
Ryan Curtin 2875194721 Fix FFNReturnModel test. 2021-06-23 19:58:38 -04:00
Ryan Curtin 292bfbef9c Serialize deterministic in whatever state it is currently in---no assumptions. 2021-06-23 19:32:34 -04:00
Ryan Curtin a30e15fca7 Remove unnecessary output. 2021-06-23 19:32:20 -04:00
Ryan Curtin 5d27a4d43e Add the 'MultiLayer', although maybe we can just use the FFN class itself? 2021-06-23 19:24:36 -04:00
Ryan Curtin c2b54b7af6 Set the size correctly in Predict() and fix a few other errors. 2021-06-23 19:24:21 -04:00
Ryan Curtin 0c307e89de Initialize totalInputSize and totalOutputSize in the right place. 2021-06-18 14:11:47 -04:00
Ryan Curtin d2fd462a8c Use aliases for layer outputs and deltas. 2021-06-18 13:51:46 -04:00
Ryan Curtin 064cb7b296 Okay, this passes FFVanillaNetworkTest! 2021-06-18 12:42:29 -04:00
Ryan Curtin 9a521c8080 Step 1: something compiles at all. 2021-06-16 14:07:23 -04:00
Ryan Curtin 5220de7d14 Fix some minor compilation issues. 2021-05-28 12:52:21 -04:00
Ryan Curtin f8123469e9 Add serialization file. 2021-05-22 05:27:37 -04:00
Ryan Curtin 1b3ea01b45 In-progress, does not quite compile yet. 2021-05-22 05:19:41 -04:00
Marcus Edel 34cf419bb8 Update FFN tests to use the base layer class. 2021-01-31 19:05:00 +01:00
Marcus Edel b700f8d311 Update FFN copy/move constructor tests to use the layer base class. 2021-01-31 04:36:35 +01:00
Marcus Edel eafac8609d Add Clone() function which handles polymorphism correctly. 2021-01-30 04:42:02 +01:00
Mrityunjay Tripathi 0c4db57106 typo fix 2021-01-29 10:14:53 +05:30
Mrityunjay Tripathi 21057324f3 add ResetCell and Reward methods to base class and add method to push layer to ffn model 2021-01-28 16:21:27 +05:30
Marcus Edel 43e7639e61 Use layer base class for the network initialization. 2021-01-26 00:47:55 +01:00
Marcus Edel fadaaa59a2 Update layer to use updated layer base class interface. 2021-01-25 00:04:26 +01:00
Marcus Edel 3cdd972be8 Adjust determenistic parameter interface. 2021-01-24 23:24:35 +01:00
Marcus Edel 5b453b712a Add utiliy functions to update layer parameters and states. 2021-01-24 23:24:35 +01:00