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

Method cpu_diff

src/caffe/blob.cpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119template <typename Dtype>
120const Dtype* Blob<Dtype>::cpu_diff() const {
121 CHECK(diff_);
122 return (const Dtype*)diff_->cpu_data();
123}
124
125template <typename Dtype>
126const Dtype* Blob<Dtype>::gpu_diff() const {

Callers 15

CopyFromMethod · 0.80
TYPED_TESTFunction · 0.80
TestSnapshotMethod · 0.80
TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80

Calls 1

cpu_dataMethod · 0.45

Tested by 13

TYPED_TESTFunction · 0.64
TestSnapshotMethod · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64