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