Skip to content

Commit

Permalink
fix ArgMaxLayer bug in num bottom blobs decl. pointed out by @sguada
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdonahue committed Jun 9, 2014
1 parent d292b38 commit b2669d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/caffe/vision_layers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ArgMaxLayer : public Layer<Dtype> {
virtual inline LayerParameter_LayerType type() const {
return LayerParameter_LayerType_ARGMAX;
}
virtual inline int MinBottomBlobs() const { return 1; }
virtual inline int ExactNumBottomBlobs() const { return 1; }
virtual inline int ExactNumTopBlobs() const { return 1; }

protected:
Expand Down

0 comments on commit b2669d3

Please sign in to comment.