IntegerLog2 Class — pytorch Architecture
Architecture documentation for the IntegerLog2 class in ReducedPrecisionFloatGemvFastPathKernel.cpp from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/cpu/ReducedPrecisionFloatGemvFastPathKernel.cpp lines 29–32
template <typename T>
constexpr int IntegerLog2(T n, int p = 0) {
return (n <= 1) ? p : IntegerLog2(n / 2, p + 1);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free