Convolution Layer Output Size and Parameter Formulas
For a convolutional layer , the output dimensions and number of parameters are calculated as follows:
Input Size: Filter (Kernel) Size: *(Note: is the number of filters in layer , matching the number of output channels.) Stride: Padding:
Output (Activations ) Size:
ight floor + 1$$ $$n_w^{[l]} = \left \lfloor \frac{n_w^{[l-1]} + 2p_w^{[l]} - k_w^{[l]}}{s_w^{[l]}} ight floor + 1$$ Number of Parameters: Weights: $$k_h^{[l]} imes k_w^{[l]} imes n_c^{[l-1]} imes n_c^{[l]}$$ * Biases: $$n_c^{[l]}$$0
1
Contributors are:
Who are from:
Tags
Data Science
Related
Convolution Layer Output Size and Parameter Formulas
Limitation of Manually Designed Convolutional Kernels
Equivalence of Strict Convolution and Cross-Correlation
Feature Map
Two-Dimensional Convolutional Layer Code Implementation
Convolution Kernel and Layer Size Notation
Waldo Detector Convolution Example
Object Edge Detection Using Convolution
Locality and Hardware Optimization of Convolutions
Channel Depth in Convolutional Networks
Convolution Layer Output Size and Parameter Formulas