New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GSoC] Implementing Hierarchical Memory Unit #1048
Closed
Closed
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
b02fcab
Added mlpack::methods::ann::augmented namespace + some validation/tes…
sidorov-ks 5e590f3
Separated scoring from generating data
sidorov-ks 659678f
Style issues fix
sidorov-ks 5e132a2
Fixing style issues from the GitHub checker
sidorov-ks 0665cf7
Added newline in the end of score.hpp
sidorov-ks c983446
Added SortTask + unit test for it
sidorov-ks 26c66b0
Added AddTask class + unit test for it
sidorov-ks 11df502
Fixing Jenkins issue with if/else braces
sidorov-ks 46e0b68
Fixing Jenkins issue with >80 characters long lines
sidorov-ks e92c200
Fixed Jenkins issue with closing brace
sidorov-ks 7d9e4e0
Fixed various minor Jenkins warnings
sidorov-ks a5e225e
Removed \n before public: keyword
sidorov-ks 9213e4d
Yet another fix of Jenkins issues
sidorov-ks 27b1f66
Documentation of AddTask and SortTask
sidorov-ks f857621
Renaming of GenerateData to Generate
sidorov-ks f357a0e
Fixed from code review
sidorov-ks 53e29ea
Fixed Cppcheck issue with closing brace
sidorov-ks 873192c
Code refactoring + some rewrite towards arma's native methods
sidorov-ks 29b760b
Fixed cppcheck blankline issue
sidorov-ks f302885
Added (completely minimal) LSTM baseline solution as a unit test
sidorov-ks 1f0b4bb
More cppcheck issue fixes
sidorov-ks 4371fab
Fixed LSTM baseline bug
sidorov-ks 69d5bcc
Adding a (not so good) AddTask test for LSTM baseline solution
sidorov-ks df08bf0
Chaned input representation for CopyTask baseline
sidorov-ks 08fe104
Changing SortTask baseline for multiple evaluations
sidorov-ks 2dbe00f
Adding baseline solution with unary representation for nRepeats
sidorov-ks 41db9a3
Added CopyTask input representation with unary representation of repe…
sidorov-ks 497b23f
Implemented repeat count representation as part of the CopyTask inter…
sidorov-ks c100a88
Major cleanup of the code, featuring:
sidorov-ks de238a9
Cppcheck style fixes + some assertions
sidorov-ks bab90c0
Refactored AddTask definition for LSTM training
sidorov-ks fba6576
Fixed AddTask generator for the case num_A = num_B = 0
sidorov-ks 13cd1de
Fixing cppcheck issues
sidorov-ks 718e741
Adding some king of code for HAM interface and memory structure for it
sidorov-ks 5fc7ed3
Updated AddTask definition
sidorov-ks c30ecbc
Fixed issues from @rcurtin's review
sidorov-ks 382d73d
Put TreeMemory to the working condition + tests for it
sidorov-ks 28aa20a
Trying to understand the HAM paper
sidorov-ks a028623
More stubs
sidorov-ks 8ccecc6
Refactoring TreeMemory for storing multidimensional vectors + some tests
sidorov-ks e696682
Transferring HAM tests to the separate file
sidorov-ks 62ab95a
Merged from upstream/master
sidorov-ks 477c57e
Trying to add blind HAM test
sidorov-ks 714c973
Changed includes - at least it compiles
sidorov-ks 655d7f2
Implemented indentity as FFN
sidorov-ks ef1e79a
Trying to implement JOIN - not so good so far
sidorov-ks 4ec08f7
Fixed issue with JOIN operation
sidorov-ks cb62fdc
Implemented all primitive FFN models for testing the forward pass of …
sidorov-ks fc30187
Trying to make HAM forward pass + native FFN support for TreeMemory -…
sidorov-ks 41ba7a7
Minor fixes in HAMUnit + update for CMakeList
sidorov-ks 10aea5b
More includes - doesn't work anyway
sidorov-ks 872c221
Finally something compilable
sidorov-ks fd581ae
Trying to get HAMUnit compile errors - almost there
sidorov-ks 766b0d9
Fixed nDim issue
sidorov-ks d939fe6
Finally got the Attention and Forward methods right
sidorov-ks eae8e9d
Added FFN controller to HAMUnit + finalizing blind HAM test
sidorov-ks abdea99
Fixed issues from @zoq's review
sidorov-ks aea67a9
Trying to add Parameters() - not so good so far
sidorov-ks 989731a
Added Parameters() method + unit test for it
sidorov-ks 326534b
Trying to refactor Parameters() - not so good so far
sidorov-ks 9173a24
Resolving issue with strict parameter
sidorov-ks 9fe7d1d
Successfully refactored HAM<>.Parameters()
sidorov-ks 5c82e4b
Added docs to the TreeMemory and HAMUnit
sidorov-ks 198e32d
Trying to fix the Travis issue
sidorov-ks 142ad4f
Fixing cppcheck issues
sidorov-ks aea121e
Fixing newline issue
sidorov-ks 27059a9
Trying to merge const_init
sidorov-ks 837aae9
Replaced zero_init with const_init
sidorov-ks 38f2af5
Merge branch 'master' into ham
zoq File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should work if you use
embed.Parameters() = arma::mat(parameters.memptr(), embedCount, 1, false, false);
instead ofembed.Parameters() = arma::mat(parameters.memptr(), embedCount, 1, false, true);
. Let us know if this works for you.