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

Method CopyTrainedLayersFromBinaryProto

src/caffe/net.cpp:780–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778
779template <typename Dtype>
780void Net<Dtype>::CopyTrainedLayersFromBinaryProto(
781 const string trained_filename) {
782 NetParameter param;
783 ReadNetParamsFromBinaryFileOrDie(trained_filename, &param);
784 CopyTrainedLayersFrom(param);
785}
786
787template <typename Dtype>
788void Net<Dtype>::CopyTrainedLayersFromHDF5(const string trained_filename) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected