Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DMotionPredictorMetricsManager_test.cpp108 T rmse(std::vector<T> errors) { in rmse() function
129 EXPECT_FLOAT_EQ(9.899494937f, rmse(errors)); in TEST()
552 .offTrajectoryRmse = rmse(offTrajectoryErrors)}); in computeGeneralPositionErrors()
582 pressureRmses.push_back(rmse(pressureErrors)); in computePressureRmses()
643 EXPECT_FLOAT_EQ(rmse(expectedOffTrajectoryErrors[i]), in TEST()
666 EXPECT_FLOAT_EQ(rmse(std::vector<float>{0.0f, 0.0f, -0.5f, 0.5f, 0.0f}), pressureRmses[0]); in TEST()
667 EXPECT_FLOAT_EQ(rmse(std::vector<float>{0.0f, -0.5f, -0.5f, 1.0f}), pressureRmses[1]); in TEST()
668 EXPECT_FLOAT_EQ(rmse(std::vector<float>{-0.5f, -0.5f, -0.5f}), pressureRmses[2]); in TEST()
669 EXPECT_FLOAT_EQ(rmse(std::vector<float>{-0.5f, -0.5f}), pressureRmses[3]); in TEST()
670 EXPECT_FLOAT_EQ(rmse(std::vector<float>{-0.5f}), pressureRmses[4]); in TEST()