Searched refs:SoftLOneLoss (Results 1 – 5 of 5) sorted by relevance
93 TEST(LossFunction, SoftLOneLoss) { in TEST() argument94 AssertLossFunctionIsValid(SoftLOneLoss(0.7), 0.357); in TEST()95 AssertLossFunctionIsValid(SoftLOneLoss(0.7), 1.792); in TEST()96 AssertLossFunctionIsValid(SoftLOneLoss(1.3), 0.357); in TEST()97 AssertLossFunctionIsValid(SoftLOneLoss(1.3), 1.792); in TEST()167 ScaledLoss scaled_loss(new SoftLOneLoss(1.3), 0.1, TAKE_OWNERSHIP); in TEST()
118 return new ceres::SoftLOneLoss(a); in ceres_create_softl1_loss_function_data()
62 void SoftLOneLoss::Evaluate(double s, double rho[3]) const { in Evaluate()
191 class CERES_EXPORT SoftLOneLoss : public LossFunction {193 explicit SoftLOneLoss(double a) : b_(a * a), c_(1 / b_) { } in SoftLOneLoss() function
908 .. class:: SoftLOneLoss