假设您有一个10x10x3的彩色图像输入,并且要堆叠两个卷积层,它们的内核大小分别为3x3和10和20个滤镜。您必须为这两层训练多少个参数?
答案 0 :(得分:0)
卷积层的参数数可以计算为
(宽度x高度x c in +偏差)x c out
第一层参数将为
(3 x 3 x 3 + 1) x 10 which is 280
现在第二层
(3 x 3 x 10 + 1) x 20, here c_in 10 is from previous layer, so this layer
have 1820 parameter
and total parameter is 1820 + 280 which is 2100