Last active
January 31, 2017 08:14
-
-
Save HackerEarthBlog/928a6b2be2b54ababf01f9a796a4ce61 to your computer and use it in GitHub Desktop.
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
#configure another network | |
data <- mx.symbol.Variable("data") | |
fc1 <- mx.symbol.FullyConnected(data, name = "fc1", num_hidden=10) #1st hidden layer | |
act1 <- mx.symbol.Activation(fc1, name = "sig", act_type="relu") | |
fc2 <- mx.symbol.FullyConnected(act1, name = "fc2", num_hidden=2) #2nd hidden layer | |
out <- mx.symbol.SoftmaxOutput(fc2, name = "soft") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment