Estimate the parameter count of fully-connected and convolutional layers from layer widths, kernel sizes and channel counts. Useful for model sizing and memory budgeting.
📐 計算公式 / 原理
全連線引數 = in × out + out(偏置);3×3 卷積引數 = in × out × 9 + out;視訊記憶體 MB = 引數 × 4 / 1024 / 1024