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:
5e61f55
)
SoftmaxWithLossLayer fix: takes exactly 2 bottom blobs (inherited from
author
Jeff Donahue
<jeff.donahue@gmail.com>
Thu, 5 Feb 2015 22:04:35 +0000
(14:04 -0800)
committer
Jeff Donahue
<jeff.donahue@gmail.com>
Sat, 14 Feb 2015 00:15:24 +0000
(16:15 -0800)
LossLayer)
include/caffe/loss_layers.hpp
patch
|
blob
|
history
diff --git
a/include/caffe/loss_layers.hpp
b/include/caffe/loss_layers.hpp
index
09a5c24
..
ea52f56
100644
(file)
--- a/
include/caffe/loss_layers.hpp
+++ b/
include/caffe/loss_layers.hpp
@@
-696,9
+696,6
@@
class SoftmaxWithLossLayer : public LossLayer<Dtype> {
const vector<Blob<Dtype>*>& top);
virtual inline const char* type() const { return "SoftmaxWithLoss"; }
- virtual inline int ExactNumBottomBlobs() const { return -1; }
- virtual inline int MinBottomBlobs() const { return 2; }
- virtual inline int MaxBottomBlobs() const { return 3; }
virtual inline int ExactNumTopBlobs() const { return -1; }
virtual inline int MinTopBlobs() const { return 1; }
virtual inline int MaxTopBlobs() const { return 2; }