diff options
Diffstat (limited to 'matlab/+caffe/Solver.m')
-rw-r--r-- | matlab/+caffe/Solver.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/matlab/+caffe/Solver.m b/matlab/+caffe/Solver.m index f8bdc4e2..2d3c98b2 100644 --- a/matlab/+caffe/Solver.m +++ b/matlab/+caffe/Solver.m @@ -36,6 +36,9 @@ classdef Solver < handle self.test_nets(n) = caffe.Net(self.attributes.hNet_test_nets(n)); end end + function delete (self) + caffe_('delete_solver', self.hSolver_self); + end function iter = iter(self) iter = caffe_('solver_get_iter', self.hSolver_self); end |