Skip to content

Instantly share code, notes, and snippets.

@hccho2
Created April 4, 2019 23:32
Show Gist options
  • Save hccho2/3f1af10654d2a593d5f4e6546d816ff7 to your computer and use it in GitHub Desktop.
Save hccho2/3f1af10654d2a593d5f4e6546d816ff7 to your computer and use it in GitHub Desktop.
x = tf.placeholder(tf.float32,[3,5,5,7])
y = tf.placeholder(tf.float32,[3,5,5,8])
z1 = tf.layers.conv2d(x,filters=3,kernel_size=2,name='XXX')
z2 = tf.layers.conv2d(x,filters=3,kernel_size=2,name='XXX',reuse=True)
print(tf.trainable_variables())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment