summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRonghang Hu <huronghang@hotmail.com>2015-11-19 10:05:48 -0800
committerRonghang Hu <huronghang@hotmail.com>2015-11-19 10:05:48 -0800
commit1b0716cfd761cec547c85b19fc8f6f971e9236ac (patch)
treeee0788e2eb6dbf3926919d637ff199eca8882dec /include
parent603cbfb97767d1b9ebf102200646f5df237d1749 (diff)
downloadcaffeonacl-1b0716cfd761cec547c85b19fc8f6f971e9236ac.tar.gz
caffeonacl-1b0716cfd761cec547c85b19fc8f6f971e9236ac.tar.bz2
caffeonacl-1b0716cfd761cec547c85b19fc8f6f971e9236ac.zip
Fix MaxTopBlobs in Accuracy Layer
Fix the typo "MaxTopBlos" to "MaxTopBlobs". This typo causes maximum top number to be incorrect.
Diffstat (limited to 'include')
-rw-r--r--include/caffe/loss_layers.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/caffe/loss_layers.hpp b/include/caffe/loss_layers.hpp
index 1591c0fe..e2e3e48c 100644
--- a/include/caffe/loss_layers.hpp
+++ b/include/caffe/loss_layers.hpp
@@ -42,7 +42,7 @@ class AccuracyLayer : public Layer<Dtype> {
// If there are two top blobs, then the second blob will contain
// accuracies per class.
virtual inline int MinTopBlobs() const { return 1; }
- virtual inline int MaxTopBlos() const { return 2; }
+ virtual inline int MaxTopBlobs() const { return 2; }
protected:
/**