2017-10-19 12 views

答えて

0

どのようにパッドする予定ですか?たとえば、次のようなものです:

# Assuming input is a tensor with shape (?, 28, 28, 1) 
output = tf.pad(input, [[0, 0], [2,2], [2,2], [0,0]]) 
# print(tf.shape(output)) should be (?, 32, 32, 1) 
関連する問題