Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/math/
Dmath_util_test.cc287 constexpr const double kInf = std::numeric_limits<double>::infinity(); in TEST() local
289 EXPECT_EQ(MathUtil::IPow(-12345.0, 79), -kInf); in TEST()
290 EXPECT_EQ(MathUtil::IPow(-12345.0, 80), +kInf); in TEST()
305 EXPECT_EQ(MathUtil::IPow(-kInf, 0.0), 1.0); in TEST()
312 EXPECT_EQ(MathUtil::IPow(+kInf, 0.0), 1.0); in TEST()
315 EXPECT_EQ(MathUtil::IPow(-kInf, 43), -kInf); in TEST()
317 EXPECT_EQ(MathUtil::IPow(-kInf, 42), +kInf); in TEST()
319 EXPECT_EQ(MathUtil::IPow(+kInf, 42), +kInf); in TEST()
320 EXPECT_EQ(MathUtil::IPow(+kInf, 43), +kInf); in TEST()
/external/webrtc/test/testsupport/
Dperf_test_unittest.cc112 const double kInf = std::numeric_limits<double>::infinity(); in TEST_F() local
115 RTC_EXPECT_DEATH(PrintResult("a", "b", "c", kInf, "d", false), "finit"); in TEST_F()
119 RTC_EXPECT_DEATH(PrintResultMeanAndError("a", "b", "c", 1, kInf, "d", false), in TEST_F()
124 const double kInfList[] = {0, kInf}; in TEST_F()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dmin_cost_flow_assignment.cc82 const int kInf = std::numeric_limits<int>::max(); in Solve() local
87 std::vector<size_t> dist(sink_ + 1, kInf); in Solve()
118 if (dist[sink_] == kInf) break; in Solve()