Searched refs:AssertLossFunctionIsValid (Results 1 – 1 of 1) sorted by relevance
/external/ceres-solver/internal/ceres/ |
D | loss_function_test.cc | 47 void AssertLossFunctionIsValid(const LossFunction& loss, double s) { in AssertLossFunctionIsValid() function 82 AssertLossFunctionIsValid(TrivialLoss(), 0.357); in TEST() 83 AssertLossFunctionIsValid(TrivialLoss(), 1.792); in TEST() 87 AssertLossFunctionIsValid(HuberLoss(0.7), 0.357); in TEST() 88 AssertLossFunctionIsValid(HuberLoss(0.7), 1.792); in TEST() 89 AssertLossFunctionIsValid(HuberLoss(1.3), 0.357); in TEST() 90 AssertLossFunctionIsValid(HuberLoss(1.3), 1.792); in TEST() 94 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() [all …]
|