Skip to content

Commit

Permalink
clean up formatting in SoftmaxLossLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
longjon committed Dec 31, 2014
1 parent 34321e4 commit c7f63da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/caffe/layers/softmax_loss_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ void SoftmaxWithLossLayer<Dtype>::Forward_cpu(

template <typename Dtype>
void SoftmaxWithLossLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
const vector<bool>& propagate_down,
const vector<Blob<Dtype>*>& bottom) {
const vector<bool>& propagate_down, const vector<Blob<Dtype>*>& bottom) {
if (propagate_down[1]) {
LOG(FATAL) << this->type_name()
<< " Layer cannot backpropagate to label inputs.";
Expand Down

0 comments on commit c7f63da

Please sign in to comment.