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

Method Backward_gpu

include/caffe/layer.hpp:334–339  ·  view source on GitHub ↗

* @brief Using the GPU device, compute the gradients for any parameters and * for the bottom blobs if propagate_down is true. * Fall back to Backward_cpu() if unavailable. */

Source from the content-addressed store, hash-verified

332 * Fall back to Backward_cpu() if unavailable.
333 */
334 virtual void Backward_gpu(const vector<Blob<Dtype>*>& top,
335 const vector<bool>& propagate_down,
336 const vector<Blob<Dtype>*>& bottom) {
337 // LOG(WARNING) << "Using CPU code as backup.";
338 Backward_cpu(top, propagate_down, bottom);
339 }
340
341 /**
342 * Called by the parent Layer's SetUp to check that the number of bottom

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected