Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dloss_test.cc68 TEST(LogisticLoss, ComputeDualLoss) { in TEST() argument
71 loss_updater.ComputeDualLoss(0 /* current dual */, 1 /* label */, in TEST()
75 loss_updater.ComputeDualLoss(1 /* current dual */, 1 /* label */, in TEST()
80 loss_updater.ComputeDualLoss(0.5 /* current dual */, 1 /* label */, in TEST()
115 TEST(SquaredLoss, ComputeDualLoss) { in TEST() argument
119 loss_updater.ComputeDualLoss(0.0 /* current dual */, -1.0 /* label */, in TEST()
124 loss_updater.ComputeDualLoss(0.2 /* current dual */, -1.0 /* label */, in TEST()
129 loss_updater.ComputeDualLoss(1.5 /* current dual */, 1.0 /* label */, in TEST()
134 loss_updater.ComputeDualLoss(0.5 /* current dual */, 1.0 /* label */, in TEST()
169 TEST(HingeLoss, ComputeDualLoss) { in TEST() argument
[all …]
Dloss.h36 virtual double ComputeDualLoss(const double current_dual,
Dsquared-loss.h44 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() function
Dhinge-loss.h75 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() function
Dsmooth-hinge-loss.h56 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() function
Dpoisson-loss.h49 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() function
Dlogistic-loss.h48 double ComputeDualLoss(const double current_dual, const double example_label, in ComputeDualLoss() function
Dsdca_ops.cc216 options.loss_updater->ComputeDualLoss(dual, example_label, in DoCompute()