MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / round_down_pot

Function round_down_pot

tensorflow/lite/experimental/ruy/size_util.h:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47inline int round_down_pot(int value) { return 1 << floor_log2(value); }
48
49inline int round_up_pot(int value) { return 1 << ceil_log2(value); }
50

Callers 3

round_up_potFunction · 0.85
MakeBlockMapFunction · 0.85
GetMostSignificantPathFunction · 0.85

Calls 1

floor_log2Function · 0.85

Tested by

no test coverage detected