Searched refs:num_weight_vectors (Results 1 – 2 of 2) sorted by relevance
43 const size_t num_weight_vectors = normalized_bounded_dual_delta.size(); in UpdateDenseDeltaWeights() local44 if (num_weight_vectors == 1) { in UpdateDenseDeltaWeights()51 dual_matrix(normalized_bounded_dual_delta.data(), num_weight_vectors, in UpdateDenseDeltaWeights()156 const Regularizations& regularization, const int num_weight_vectors) const { in ComputeWxAndWeightedExampleNorm()157 ExampleStatistics result(num_weight_vectors); in ComputeWxAndWeightedExampleNorm()174 for (int l = 0; l < num_weight_vectors; ++l) { in ComputeWxAndWeightedExampleNorm()197 if (num_weight_vectors == 1) { in ComputeWxAndWeightedExampleNorm()224 for (int l = 0; l < num_weight_vectors; ++l) { in ComputeWxAndWeightedExampleNorm()240 const int num_weight_vectors) { in SampleAdaptiveProbabilities() argument241 if (num_weight_vectors != 1) { in SampleAdaptiveProbabilities()[all …]
70 ExampleStatistics(const int num_weight_vectors) in ExampleStatistics()71 : wx(num_weight_vectors, 0.0), prev_wx(num_weight_vectors, 0.0) {} in ExampleStatistics()136 const int num_weight_vectors) const;333 const int num_weight_vectors);