File: get_solver.m

package info (click to toggle)
caffe 1.0.0%2Bgit20180821.99bd997-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,288 kB
  • sloc: cpp: 61,586; python: 5,783; makefile: 599; sh: 559
file content (10 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
function solver = get_solver(solver_file)
% solver = get_solver(solver_file)
%   Construct a Solver object from solver_file

CHECK(ischar(solver_file), 'solver_file must be a string');
CHECK_FILE_EXIST(solver_file);
pSolver = caffe_('get_solver', solver_file);
solver = caffe.Solver(pSolver);

end