Caffe: Why add an 'Permute' layer before flattening the output?
Created on 23 Jul 2016
路
3Comments
路
Source: weiliu89/caffe
I have two questions:
Why need to convert N * C * H * W to N * H * W * C, but not flattening it directly?
The default input image size is 300*300. If I input an image with a different size, do I need to adjust the pad value and the stride value in the convolution and pooling layer respectively?
Most helpful comment
@weiliu89 @yw155 how does permuting make it easier to combine predictions from multiple layers?