Tensorflow中padding的兩種類型SAME和VALID

前面是max_pool第二個參數是卷積核,第三個參數是對應步長, import tensorflow as tf sess=tf.Session() x = tf.constant([[1., 2., 3.], [4., 5., 6.], [7., 8., 9.]]) x = tf.reshape(x, [1, 3, 3, 1]
相關文章
相關標籤/搜索