Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ AlignByN
Function
AlignByN
tensorflow/lite/delegates/gpu/common/util.h:43–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
// @param n must be greater than zero
42
template <typename T, typename N>
43
T AlignByN(T number, N n) {
44
return IntegralDivideRoundUp(number, n) * n;
45
}
46
47
} // namespace gpu
48
} // namespace tflite
Callers
15
ToBytesVector
Function · 0.85
BytesForPHWC4
Function · 0.85
Add
Method · 0.85
WriteDataBHWC
Method · 0.85
ReadDataBHWC
Method · 0.85
AllocateTensorMemory
Function · 0.85
DispatchImplicit
Method · 0.85
UploadWeights
Method · 0.85
RearrangeWeightsData
Method · 0.85
UploadWeights
Method · 0.85
RearrangeWeightsFP16
Method · 0.85
RearrangeWeightsFP32
Method · 0.85
Calls
1
IntegralDivideRoundUp
Function · 0.70
Tested by
1
TEST
Function · 0.68