Skip to content

Instantly share code, notes, and snippets.

@JoshVarty
Last active Feb 10, 2018
Embed
What would you like to do?
layer1_weights = tf.Variable(tf.random_normal([3, 3, 1, 64])) #3x3x1x64
layer1_bias = tf.Variable(tf.zeros([64])) #64
layer1_conv = tf.nn.conv2d(input, filter=layer1_weights, strides=[1,1,1,1], padding='SAME') #28x28x64
layer1_out = tf.nn.relu(layer1_conv + layer1_bias) #28x28x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment