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

Method gpu_diff

src/caffe/blob.cpp:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125template <typename Dtype>
126const Dtype* Blob<Dtype>::gpu_diff() const {
127 CHECK(diff_);
128 return (const Dtype*)diff_->gpu_data();
129}
130
131template <typename Dtype>
132Dtype* Blob<Dtype>::mutable_cpu_data() {

Callers 4

runMethod · 0.80
CopyFromMethod · 0.80
blob_to_mx_matFunction · 0.80
ForwardMethod · 0.80

Calls 1

gpu_dataMethod · 0.45

Tested by

no test coverage detected