Searched refs:ComputeWeightedMean (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/base/ |
D | rollingaccumulator_unittest.cc | 41 EXPECT_NEAR(2.26666, accum.ComputeWeightedMean(kLearningRate), 0.01); in TEST() 56 EXPECT_NEAR(10.0, accum.ComputeWeightedMean(kLearningRate), 0.01); in TEST() 96 EXPECT_NEAR(105.049, accum.ComputeWeightedMean(kLearningRate), 0.1); in TEST() 104 EXPECT_DOUBLE_EQ(0.0, accum.ComputeWeightedMean(kLearningRate)); in TEST() 105 EXPECT_DOUBLE_EQ(0.0, accum.ComputeWeightedMean(0.0)); in TEST() 106 EXPECT_DOUBLE_EQ(0.0, accum.ComputeWeightedMean(1.1)); in TEST() 113 EXPECT_DOUBLE_EQ(3.5, accum.ComputeWeightedMean(0)); in TEST() 114 EXPECT_DOUBLE_EQ(3.5, accum.ComputeWeightedMean(1.1)); in TEST() 115 EXPECT_NEAR(6.0, accum.ComputeWeightedMean(kLearningRate), 0.1); in TEST()
|
D | rollingaccumulator.h | 126 double ComputeWeightedMean(double learning_rate) const { in ComputeWeightedMean() function
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | utils.h | 289 inline float ComputeWeightedMean(const float* const values, in ComputeWeightedMean() function
|