Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dpoisson-loss.h38 const double y_minus_a = label - current_dual; in ComputeUpdatedDual() local
39 double x = (y_minus_a > 0) ? log(y_minus_a) : 0; in ComputeUpdatedDual()
54 const double y_minus_a = example_label - current_dual; in ComputeDualLoss() local
55 if (y_minus_a == 0.0) { in ComputeDualLoss()
59 if (y_minus_a < 0.0) { in ComputeDualLoss()
62 return y_minus_a * (log(y_minus_a) - 1) * example_weight; in ComputeDualLoss()