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:
af37efd
)
Removes a unused variable warning
author
philkr
<philkr@users.noreply.github.com>
Sat, 11 Jul 2015 00:03:03 +0000
(17:03 -0700)
committer
philkr
<philkr@users.noreply.github.com>
Sat, 11 Jul 2015 00:03:03 +0000
(17:03 -0700)
src/caffe/layers/absval_layer.cu
patch
|
blob
|
history
diff --git
a/src/caffe/layers/absval_layer.cu
b/src/caffe/layers/absval_layer.cu
index
91f3c77
..
bb310e1
100644
(file)
--- a/
src/caffe/layers/absval_layer.cu
+++ b/
src/caffe/layers/absval_layer.cu
@@
-18,7
+18,6
@@
template <typename Dtype>
void AbsValLayer<Dtype>::Backward_gpu(const vector<Blob<Dtype>*>& top,
const vector<bool>& propagate_down, const vector<Blob<Dtype>*>& bottom) {
const int count = top[0]->count();
- const Dtype* top_data = top[0]->gpu_data();
const Dtype* top_diff = top[0]->gpu_diff();
if (propagate_down[0]) {
const Dtype* bottom_data = bottom[0]->gpu_data();