Skip to content

Instantly share code, notes, and snippets.

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 sasagawa888/b549d1606ca73cb6b460fa6606ed7c08 to your computer and use it in GitHub Desktop.
Save sasagawa888/b549d1606ca73cb6b460fa6606ed7c08 to your computer and use it in GitHub Desktop.
# for CNN test for Fashion-MNIST
defnetwork init_network9(_x) do
_x
# |> visualizer(1,1)
|> f(5, 5, 1, 12, {1, 1}, 1, 0.1, 0.001)
|> pooling(2, 2)
|> f(3, 3, 12, 12, {1, 1}, 1, 0.1, 0.001)
|> f(2, 2, 12, 12, {1, 1}, 1, 0.1, 0.001)
|> pooling(2, 2)
|> f(3, 3, 12, 12, {1, 1}, 0, 0.1, 0.001)
|> relu
# |> visualizer(1,1)
|> full
|> w(300, 10, 0.1, 0.001)
|> softmax
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment