Lines Matching full:loss_function
809 .. _`section-loss_function`:
891 ``include/ceres/loss_function.h``.
978 LossFunctionWrapper* loss_function(new HuberLoss(1.0), TAKE_OWNERSHIP);
979 problem.AddResidualBlock(cost_function, loss_function, parameters);
985 loss_function->Reset(new HuberLoss(1.0), TAKE_OWNERSHIP);
1264 detected. ``loss_function`` can be ``NULL``, in which case the cost
1299 ``cost_function``, ``loss_function`` and ``local_parameterization``
1306 and ``loss_function``, it does not preclude the user from re-using
1308 delete on each ``cost_function`` or ``loss_function`` pointer only
1311 .. function:: ResidualBlockId Problem::AddResidualBlock(CostFunction* cost_function, LossFunction* loss_function, const vector<double*> parameter_blocks)
1317 program aborts if a mismatch is detected. loss_function can be
1328 cost_function and loss_function pointers. These objects remain
1334 and loss_function, it does not preclude the user from re-using
1336 delete on each cost_function or loss_function pointer only once,