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:
fa7fda7
)
Add the missing period
author
Zhou Mo
<cdluminate@gmail.com>
Mon, 28 Nov 2016 02:17:25 +0000
(
02:17
+0000)
committer
Zhou Mo
<cdluminate@gmail.com>
Mon, 28 Nov 2016 02:17:25 +0000
(
02:17
+0000)
src/caffe/layers/crop_layer.cu
patch
|
blob
|
history
diff --git
a/src/caffe/layers/crop_layer.cu
b/src/caffe/layers/crop_layer.cu
index
9ad4012
..
1ea1325
100644
(file)
--- a/
src/caffe/layers/crop_layer.cu
+++ b/
src/caffe/layers/crop_layer.cu
@@
-40,9
+40,9
@@
void CropLayer<Dtype>::crop_copy_gpu(const vector<Blob<Dtype>*>& bottom,
}
} else {
// We are at the last two dimensions, which are stored continuously in
- // memory With (N,C,H,W)
- // (0,1,2,3) cur_dim -> H
- // cur_dim+1 -> W
+ // memory
.
With (N,C,H,W)
+ //
(0,1,2,3) cur_dim -> H
+ //
cur_dim+1 -> W
const int lines = top[0]->shape(cur_dim);
const int height = top[0]->shape(cur_dim);
const int width = top[0]->shape(cur_dim+1);