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

Method has_layer

rtpose_wrapper/src/caffe/net.cpp:980–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

978
979template <typename Dtype>
980bool Net<Dtype>::has_layer(const string& layer_name) const {
981 return layer_names_index_.find(layer_name) != layer_names_index_.end();
982}
983
984template <typename Dtype>
985const shared_ptr<Layer<Dtype> > Net<Dtype>::layer_by_name(

Callers 7

TYPED_TESTFunction · 0.80
TYPED_TESTFunction · 0.80
NetNeedsV0ToV1UpgradeFunction · 0.80
UpgradeV0LayerParameterFunction · 0.80
UpgradeV1LayerParameterFunction · 0.80

Calls 1

endMethod · 0.45

Tested by 4

TYPED_TESTFunction · 0.64
TYPED_TESTFunction · 0.64