Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dloss_test.cc52 TEST(LogisticLoss, ComputePrimalLoss) { in TEST() argument
55 loss_updater.ComputePrimalLoss(0 /* wx */, 1 /* label */, in TEST()
59 loss_updater.ComputePrimalLoss(70 /* wx */, 1 /* label */, in TEST()
63 loss_updater.ComputePrimalLoss(-70 /* wx */, -1 /* label */, in TEST()
95 TEST(SquaredLoss, ComputePrimalLoss) { in TEST() argument
98 loss_updater.ComputePrimalLoss(0.0 /* wx */, 1.0 /* label */, in TEST()
102 loss_updater.ComputePrimalLoss(10.0 /* wx */, 1.0 /* label */, in TEST()
106 loss_updater.ComputePrimalLoss(-0.5 /* wx */, -1.0 /* label */, in TEST()
110 loss_updater.ComputePrimalLoss(1.2 /* wx */, -1.0 /* label */, in TEST()
149 TEST(HingeLoss, ComputePrimalLoss) { in TEST() argument
[all …]
Dloss.h42 virtual double ComputePrimalLoss(const double wx, const double example_label,
Dsquared-loss.h52 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() function
Dhinge-loss.h89 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() function
Dsmooth-hinge-loss.h68 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() function
Dpoisson-loss.h65 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() function
Dlogistic-loss.h61 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() function
Dsdca_ops.cc214 options.loss_updater->ComputePrimalLoss( in DoCompute()