Multi-input multi-output channel channel in CNN convolutional layer hands-on deep learning v2 pytorch

1. Multiple input multiple output channel channel in CNN convolutional layer

insert image description here
insert image description here
insert image description here

insert image description here
insert image description here
Concatenate multiple channels
insert image description here

1.1 Multiple input and output channels

  • Each output channel can recognize a special mode
  • The input channel convolution kernel recognizes and combines the patterns in the input
    insert image description here
    1 x 1 convolution layer, which does not recognize spatial patterns, which is equivalent to the fusion channel, which is equivalent to being a fully connected layer MLP. Equal to 3 channels, reshape to a one-dimensional vector.

insert image description here
insert image description here
insert image description here

2. Handwritten code implementation from scratch

insert image description here
insert image description here
insert image description here

3. Introduction to pytorch implementation

insert image description here

reference

https://www.bilibili.com/video/BV1MB4y1F7of?p=1

Guess you like

Origin blog.csdn.net/zgpeace/article/details/124054867