Caffe Group parameter

Source: Internet
Author: User

The Convolution_param parameter Dictionary of the Caffe convolution layer has a group parameter, which means that the corresponding input channel is grouped with the output channel number, for example, the input data size is
90X100X100X32 90 is the size of the data batch 100x100 is the image data shape,32 is the number of channels, to go through a 3x3x48 convolution, group default is 1, is fully connected to the convolution layer,
If the group is 2, then the 32 channels to be entered are divided into 2 16 channels, and 48 channels of output are divided into 2 24. For the output of the 2 24 channels, the first 24 channels with the input of the first 16 channel full convolution, the second 24 channel and the input of the second 16 channel full volume. In extreme cases, the number of input and output channels is the same, for example, for the 24,group size is also 24, then each output volume kernel, only with the input of the corresponding channel convolution.


Caffe Official Website Quote:
Group (g) [Default 1]: If g > 1, we restrict the connectivity of each filter to a subset of the input. Specifically, the input and output channels are separated into G groups, and the i-th output group channels'll be only C onnected to the i-th input group channels.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.