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

Method Params

src/caffe/parallel.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68template<typename Dtype>
69Params<Dtype>::Params(shared_ptr<Solver<Dtype> > root_solver)
70 : size_(total_size<Dtype>(root_solver->net()->learnable_params())),
71 data_(),
72 diff_() {
73}
74
75template<typename Dtype>
76GPUParams<Dtype>::GPUParams(shared_ptr<Solver<Dtype> > root_solver, int device)

Callers

nothing calls this directly

Calls 1

netMethod · 0.80

Tested by

no test coverage detected