Skip to content

Commit 8f80da3

Browse files
committed
comment out the backwards in tile_nd layer
1 parent e1408dd commit 8f80da3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/caffe/layers/tile_nd_layer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ void TileNDLayer<Dtype>::Forward_cpu(
128128
template <typename Dtype>
129129
void TileNDLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
130130
const vector<bool>& propagate_down, const vector<Blob<Dtype>*>& bottom) {
131+
NOT_IMPLEMENTED;
132+
/*
131133
if (!propagate_down[0]) { return; }
132134
const Dtype* top_diff = top[0]->cpu_diff();
133135
Dtype* bottom_diff = bottom[0]->mutable_cpu_diff();
@@ -143,6 +145,7 @@ void TileNDLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
143145
bottom_diff += inner_dim_[s];
144146
}
145147
}
148+
*/
146149
}
147150

148151
//#ifdef CPU_ONLY

0 commit comments

Comments
 (0)