Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dhinge-loss.h79 const double y_alpha = current_dual * example_label; // y \alpha in ComputeDualLoss() local
80 if (y_alpha < 0 || y_alpha > 1.0) { in ComputeDualLoss()
83 return -y_alpha * example_weight; in ComputeDualLoss()
Dsmooth-hinge-loss.h60 const double y_alpha = current_dual * example_label; // y \alpha in ComputeDualLoss() local
61 if (y_alpha < 0 || y_alpha > 1.0) { in ComputeDualLoss()
64 return (-y_alpha + 0.5 * gamma * current_dual * current_dual) * in ComputeDualLoss()