MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / ShareDiff

Method ShareDiff

rtpose_wrapper/src/caffe/blob.cpp:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143template <typename Dtype>
144void Blob<Dtype>::ShareDiff(const Blob& other) {
145 CHECK_EQ(count_, other.count());
146 diff_ = other.diff();
147}
148
149// The "update" method is used for parameter blobs in a Net, which are stored
150// 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