projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4853954
)
blob
author
Yangqing Jia
<jiayq84@gmail.com>
Fri, 27 Sep 2013 21:55:11 +0000
(14:55 -0700)
committer
Yangqing Jia
<jiayq84@gmail.com>
Fri, 27 Sep 2013 21:55:11 +0000
(14:55 -0700)
src/caffe/blob.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/blob.cpp
b/src/caffe/blob.cpp
index
40ee548
..
6162740
100644
(file)
--- a/
src/caffe/blob.cpp
+++ b/
src/caffe/blob.cpp
@@
-107,7
+107,7
@@
void Blob<Dtype>::FromProto(const BlobProto& proto) {
}
template <typename Dtype>
}
template <typename Dtype>
-void Blob<Dtype>::ToProto(BlobProto* proto, bool write_diff) {
+void Blob<Dtype>::ToProto(BlobProto* proto, bool write_diff)
const
{
proto->set_num(num_);
proto->set_channels(channels_);
proto->set_height(height_);
proto->set_num(num_);
proto->set_channels(channels_);
proto->set_height(height_);