MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / BackwardFromTo

Method BackwardFromTo

rtpose_wrapper/src/caffe/net.cpp:590–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588
589template <typename Dtype>
590void Net<Dtype>::BackwardFromTo(int start, int end) {
591 CHECK_GE(end, 0);
592 CHECK_LT(start, layers_.size());
593 for (int i = start; i >= end; --i) {
594 if (layer_need_backward_[i]) {
595 layers_[i]->Backward(
596 top_vecs_[i], bottom_need_backward_[i], bottom_vecs_[i]);
597 if (debug_info_) { BackwardDebugInfo(i); }
598 }
599 }
600}
601
602template <typename Dtype>
603void Net<Dtype>::ForwardDebugInfo(const int layer_id) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
BackwardMethod · 0.45

Tested by

no test coverage detected