Skip to content

Instantly share code, notes, and snippets.

@smzn
Created July 4, 2019 02:15
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 smzn/cbd301d3b20b1172218c262370bb8132 to your computer and use it in GitHub Desktop.
Save smzn/cbd301d3b20b1172218c262370bb8132 to your computer and use it in GitHub Desktop.
layers = [imageInputLayer([28 28 1])
convolution2dLayer(5,20)
reluLayer
maxPooling2dLayer(2,'Stride',2)
fullyConnectedLayer(10)
softmaxLayer
classificationLayer];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment