Searched refs:new_dual (Results 1 – 2 of 2) sorted by relevance
42 double new_dual = loss_updater.ComputeUpdatedDual( in TestComputeUpdatedDual() local46 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()
198 const double new_dual = options.loss_updater->ComputeUpdatedDual( in DoCompute() local204 (new_dual - dual) * example_weight / in DoCompute()211 example_state_data(example_index, 0) = new_dual; in DoCompute()