projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc06ab7
)
fix ArgMaxLayer bug in num bottom blobs decl. pointed out by @sguada
author
Jeff Donahue
<jeff.donahue@gmail.com>
Mon, 9 Jun 2014 05:44:32 +0000
(22:44 -0700)
committer
Jeff Donahue
<jeff.donahue@gmail.com>
Mon, 9 Jun 2014 05:44:32 +0000
(22:44 -0700)
include/caffe/vision_layers.hpp
patch
|
blob
|
history
diff --git
a/include/caffe/vision_layers.hpp
b/include/caffe/vision_layers.hpp
index
eb067bb
..
fc3dbbe
100644
(file)
--- a/
include/caffe/vision_layers.hpp
+++ b/
include/caffe/vision_layers.hpp
@@
-37,7
+37,7
@@
class ArgMaxLayer : public Layer<Dtype> {
virtual inline LayerParameter_LayerType type() const {
return LayerParameter_LayerType_ARGMAX;
}
- virtual inline int
Min
BottomBlobs() const { return 1; }
+ virtual inline int
ExactNum
BottomBlobs() const { return 1; }
virtual inline int ExactNumTopBlobs() const { return 1; }
protected: