该
SilenceLayer
正是你正在寻找的 - 它是一个特殊的“无所事事”层,只接受输入但不产生任何输出,保持日志清洁:
layer {
name: “silence”
type: “Silence”
bottom: “softmax_2”
}
我的网络有多重损失。我想只测试一定的损失。
我已将softmax切成softmax_1和softmax_2,并且只有softmax_1用于此特定损失。