Skip to content

Instantly share code, notes, and snippets.

@gigasquid
Created August 24, 2018 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gigasquid/7c5f7962d30ae618d086ba22a96e0848 to your computer and use it in GitHub Desktop.
Save gigasquid/7c5f7962d30ae618d086ba22a96e0848 to your computer and use it in GitHub Desktop.
(as-> (sym/variable "data") data
(sym/fully-connected "fc1" {:data data :num-hidden 128})
(sym/activation "relu1" {:data data :act-type "relu"})
(sym/fully-connected "fc2" {:data data :num-hidden 64})
(sym/activation "relu2" {:data data :act-type "relu"})
(sym/fully-connected "fc3" {:data data :num-hidden 10})
(sym/softmax-output "softmax" {:data data}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment