Searched refs:one_minus_ay (Results 1 – 1 of 1) sorted by relevance
54 const double one_minus_ay = 1 - ay; in ComputeDualLoss() local55 const double log_one_minus_ay = (one_minus_ay > 0) ? log(one_minus_ay) : 0; in ComputeDualLoss()56 return ((ay * log_ay) + (one_minus_ay * log_one_minus_ay)) * example_weight; in ComputeDualLoss()