// The weight decay that is multiplied on the global weight decay.
repeated float weight_decay = 8;
+ optional AccuracyParameter accuracy_param = 27;
optional ArgMaxParameter argmax_param = 23;
optional ConcatParameter concat_param = 9;
optional ConvolutionParameter convolution_param = 10;
optional V0LayerParameter layer = 1;
}
+// Message that stores parameters used by AccuracyLayer
+message AccuracyParameter {
+ // When computing accuracy, count as correct by comparing the true label to
+ // the top k scoring classes. By default, only compare to the top scoring
+ // class (i.e. argmax).
+ optional uint32 compare_to_top_k = 1 [default = 1];
+}
+
// Message that stores parameters used by ArgMaxLayer
message ArgMaxParameter {
// If true produce pairs (argmax, maxval)