Last active
March 6, 2018 01:02
-
-
Save JoshVarty/f433a13d04510a412f35e2a0f51c929e to your computer and use it in GitHub Desktop.
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
input = tf.placeholder(tf.float32, shape=(None, 28, 28, 1)) #28x28x1 | |
padded_input = tf.image.resize_image_with_crop_or_pad(input, target_height=32, target_width=32) #32x32x1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment