Created
January 23, 2018 22:24
-
-
Save alseambusher/87d06f98c054eafd9d9f36438c12d74e to your computer and use it in GitHub Desktop.
conv2d usage
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
// 32 5x5 filters | |
var network = conv2d(tensor, 32, 5, graph); | |
// 32 5x5 filters, stride 2, "same" padding with relu activation | |
var network = conv2d(tensor, 32, 5, graph, 2, "SAME", undefined, (layer, graph) => {return graph.relu(layer)}); | |
// applying some kernel_initializer | |
var network = conv2d(x, 32, 5, g, undefined, undefined, undefined, undefined, new RandomUniformInitializer(0, 0.5)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment