Caffe Study Series (£): Caffe source Analysis vector<blob<dtype>*>& Bottom

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/qq_14975217/article/details/51524042

Blob:4 dimensions n x C x H x W;

Bottom[0], bottom[1] represents several inputs for the layer.

Bottom[0]->count (): Input, total number of dimensions (number of elements)

Bottom[0]->nums (): input, the number of blocks (block), the parameter also corresponds to Batch_size, that is, several pictures are entered at the same time
C: Is the number of convolution cores (filter), each convolution core produces a channel output, in the input layer, C is directly the image of the channel number;
There is also a variable, dim;: Dimension of each block (number of elements)

Visualization:
| xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx | xxxxx |

, Nums = 8, Dim = 5, Count = 5*8 = 40;

Caffe Study Series (£): Caffe source Analysis vector<blob<dtype>*>& Bottom (EXT)

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.