Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
namespace {
22
void 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
27
TEST(EigenPoolingTest, Simple) {
Callers
2
TEST
Function · 0.70
TEST
Function · 0.70
Calls
2
abs
Class · 0.70
min
Function · 0.50
Tested by
no test coverage detected