MCPcopy Create free account
hub / github.com/BVLC/caffe / ShareDiff

Method ShareDiff

src/caffe/blob.cpp:162–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161template <typename Dtype>
162void Blob<Dtype>::ShareDiff(const Blob& other) {
163 CHECK_EQ(count_, other.count());
164 diff_ = other.diff();
165}
166
167// The "update" method is used for parameter blobs in a Net, which are stored
168// as Blob<float> or Blob<double> -- hence we do not define it for

Callers 7

ShareWeightsMethod · 0.80
ReshapeMethod · 0.80
ReshapeMethod · 0.80
Backward_cpuMethod · 0.80
ReshapeMethod · 0.80
ReshapeMethod · 0.80
Forward_cpuMethod · 0.80

Calls 2

countMethod · 0.80
diffMethod · 0.80

Tested by

no test coverage detected