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

Method Backward_cpu

include/caffe/layers/accuracy_layer.hpp:74–79  ·  view source on GitHub ↗

@brief Not implemented -- AccuracyLayer cannot be used as a loss.

Source from the content-addressed store, hash-verified

72
73 /// @brief Not implemented -- AccuracyLayer cannot be used as a loss.
74 virtual void Backward_cpu(const vector<Blob<Dtype>*>& top,
75 const vector<bool>& propagate_down, const vector<Blob<Dtype>*>& bottom) {
76 for (int i = 0; i < propagate_down.size(); ++i) {
77 if (propagate_down[i]) { NOT_IMPLEMENTED; }
78 }
79 }
80
81 int label_axis_, outer_num_, inner_num_;
82

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected