Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ _log2
Function
_log2
source/core/ConvolutionCommon.cpp:48–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
static double _log2(double x) {
49
return log(x) / log(2);
50
}
51
52
static uint32_t atLestBitsCnt(uint32_t n) {
53
for (uint32_t i = 0; i < 32; i++) {
Callers
1
ReadSparseQuanData_c
Function · 0.85
Calls
1
log
Function · 0.50
Tested by
no test coverage detected