Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ is_pot
Function
is_pot
tensorflow/lite/experimental/ruy/size_util.h:43–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
inline bool is_pot(int value) {
44
return (value > 0) && ((value & (value - 1)) == 0);
45
}
46
47
inline int round_down_pot(int value) { return 1 << floor_log2(value); }
48
Callers
1
Offset
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected