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:
6af4575
)
[fix] comment typo
author
Jeff Donahue
<jeff.donahue@gmail.com>
Thu, 2 Oct 2014 23:20:04 +0000
(16:20 -0700)
committer
Jeff Donahue
<jeff.donahue@gmail.com>
Thu, 2 Oct 2014 23:20:04 +0000
(16:20 -0700)
src/caffe/test/test_net.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/test/test_net.cpp
b/src/caffe/test/test_net.cpp
index
9b10d10
..
d48a60e
100644
(file)
--- a/
src/caffe/test/test_net.cpp
+++ b/
src/caffe/test/test_net.cpp
@@
-993,7
+993,7
@@
TYPED_TEST(NetTest, TestSharedWeightsUpdate) {
// Check that data blobs of shared weights share the same location in memory.
EXPECT_EQ(ip1_weights->cpu_data(), ip2_weights->cpu_data());
// Check that diff blobs of shared weights are at different locations in
- //
locations
. (The diffs should be accumulated at update time.)
+ //
memory
. (The diffs should be accumulated at update time.)
EXPECT_NE(ip1_weights->cpu_diff(), ip2_weights->cpu_diff());
this->net_->Forward(bottom);
this->net_->Backward();