| 778 | |
| 779 | template <typename Dtype> |
| 780 | void Net<Dtype>::CopyTrainedLayersFromBinaryProto( |
| 781 | const string trained_filename) { |
| 782 | NetParameter param; |
| 783 | ReadNetParamsFromBinaryFileOrDie(trained_filename, ¶m); |
| 784 | CopyTrainedLayersFrom(param); |
| 785 | } |
| 786 | |
| 787 | template <typename Dtype> |
| 788 | void Net<Dtype>::CopyTrainedLayersFromHDF5(const string trained_filename) { |
nothing calls this directly
no test coverage detected