mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Fix and enhance GradientProblemSolver::Summary::FullReport
1. Fix a bug which was causing the cost and gradient evaluation time to not be reported. 2. Add the number of times cost and gradients are evaluated to the Summary object and to the output of FullReport. Change-Id: Id0703cd2dafbf437f3e537fbdc30ae81d5f4f540
This commit is contained in:
@@ -447,6 +447,14 @@ Solving
|
||||
|
||||
:class:`IterationSummary` for each minimizer iteration in order.
|
||||
|
||||
.. member:: int num_cost_evaluations
|
||||
|
||||
Number of times the cost (and not the gradient) was evaluated.
|
||||
|
||||
.. member:: int num_gradient_evaluations
|
||||
|
||||
Number of times the gradient (and the cost) were evaluated.
|
||||
|
||||
.. member:: double GradientProblemSolver::Summary::total_time_in_seconds
|
||||
|
||||
Time (in seconds) spent in the solver.
|
||||
|
||||
Reference in New Issue
Block a user