Home
last modified time | relevance | path

Searched refs:scaled_loss (Results 1 – 2 of 2) sorted by relevance

/external/ceres-solver/internal/ceres/
Dloss_function_test.cc155 ScaledLoss scaled_loss(NULL, 6, TAKE_OWNERSHIP); in TEST() local
156 AssertLossFunctionIsValid(scaled_loss, 0.323); in TEST()
159 ScaledLoss scaled_loss(new TrivialLoss(), 10, TAKE_OWNERSHIP); in TEST() local
160 AssertLossFunctionIsValid(scaled_loss, 0.357); in TEST()
163 ScaledLoss scaled_loss(new HuberLoss(0.7), 0.1, TAKE_OWNERSHIP); in TEST() local
164 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
167 ScaledLoss scaled_loss(new SoftLOneLoss(1.3), 0.1, TAKE_OWNERSHIP); in TEST() local
168 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
171 ScaledLoss scaled_loss(new CauchyLoss(1.3), 10, TAKE_OWNERSHIP); in TEST() local
172 AssertLossFunctionIsValid(scaled_loss, 1.792); in TEST()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc368 double scaled_loss = static_cast<double>(loss * num_media_packets) / in ComputeRecoveryRatePerLoss() local
370 metrics->recovery_rate_per_loss[loss] = 1.0 - arl / scaled_loss; in ComputeRecoveryRatePerLoss()