test_pow_one Class — pytorch Architecture
Architecture documentation for the test_pow_one class in pow_test.cpp from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/test/pow_test.cpp lines 238–243
template<typename T>
void test_pow_one(const std::vector<T> vals) {
for (const auto val : vals) {
ASSERT_EQ(native::powi(val, T(1)), val);
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free