| 303 | } |
| 304 | |
| 305 | void share_weights(Solver<Dtype>* solver, Net<Dtype>* net) { |
| 306 | net->ShareTrainedLayersWith(solver->net().get()); |
| 307 | } |
| 308 | |
| 309 | template<typename Dtype> |
| 310 | class NetCallback: public Net<Dtype>::Callback { |
nothing calls this directly
no test coverage detected