Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dloss_test.cc42 double new_dual = loss_updater.ComputeUpdatedDual( in TestComputeUpdatedDual() local
46 double new_wx = wx + (new_dual - current_dual) * num_loss_partitions * in TestComputeUpdatedDual()
48 EXPECT_NEAR(new_dual, -loss_updater.PrimalLossDerivative(new_wx, label, 1.0), in TestComputeUpdatedDual()
Dsdca_ops.cc198 const double new_dual = options.loss_updater->ComputeUpdatedDual( in DoCompute() local
204 (new_dual - dual) * example_weight / in DoCompute()
211 example_state_data(example_index, 0) = new_dual; in DoCompute()