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

Method ShareData

src/caffe/blob.cpp:156–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155template <typename Dtype>
156void Blob<Dtype>::ShareData(const Blob& other) {
157 CHECK_EQ(count_, other.count());
158 data_ = other.data();
159}
160
161template <typename Dtype>
162void Blob<Dtype>::ShareDiff(const Blob& other) {

Callers 12

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

Calls 2

countMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected