在神经网络中,“Dense layer”(全连接层)指一种层结构:该层中的每个神经元都与上一层的所有输出相连接,并通过权重矩阵进行线性变换,通常再接一个激活函数(如 ReLU、sigmoid)。它常用于分类或回归任务的“特征汇总/决策”阶段。
/dɛns ˈleɪər/
A dense layer maps features to class scores.
全连接层会把特征映射为各类别的得分。
After the convolutional blocks, the model flattens the feature map and feeds it into a dense layer with dropout to reduce overfitting.
在卷积模块之后,模型会把特征图展平,并输入到带有 dropout 的全连接层,以减少过拟合。
Dense 原意是“稠密的、密集的”,在这里引申为“连接很密(每个单元都连接很多输入)”;layer 意为“层”。在深度学习语境中,它用来描述“连接最密集的一类网络层”,因此中文常译为“全连接层”。