Caffe 的第二个 "top" of `"Accuracy"` 层

Caffe's second "top" of `"Accuracy"` layer

查看 "Accuracy" 层的代码,我看到该层有第二个输出/"top" 的选项。
第二个输出产生了什么?

查看 accuracy_layer.hpp,其中定义了层的输出数量,有这样的评论:

// If there are two top blobs, then the second blob will contain
// accuracies per class.

因此,"Accuracy" 层的第二个 "top" 仅报告每个 class 的准确度。

正如层精度的旁注,报告的精度由 "valid" 预测的数量归一化(与使用 normalization: VALID 损失层相同)。