MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / EigenApprox

Function EigenApprox

tensorflow/core/kernels/eigen_pooling_test.cc:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21namespace {
22void EigenApprox(float a, float b) {
23 ASSERT_TRUE(std::abs(a - b) <= std::min(std::abs(a), std::abs(b)) * 1e-3);
24}
25} // namespace
26
27TEST(EigenPoolingTest, Simple) {

Callers 2

TESTFunction · 0.70
TESTFunction · 0.70

Calls 2

absClass · 0.70
minFunction · 0.50

Tested by

no test coverage detected