Created
November 28, 2018 01:53
-
-
Save marty1885/a7aa105605fddb610dc542cd26ec1611 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
size_t hidden_size = 30; | |
size_t seq_len = 3; //The length of traning srquence | |
network<sequential> nn; | |
nn << recurrent(lstm(3, hidden_size), seq_len); | |
nn << leaky_relu() << fc(hidden_size) << softmax(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment