Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ CeilOfRatio
Function
CeilOfRatio
tensorflow/core/kernels/clustering_ops.cc:67–67 ·
view source on GitHub ↗
Returns a / b rounded up to the next higher integer.
Source
from the content-addressed store, hash-verified
65
66
// Returns a / b rounded up to the next higher integer.
67
int64 CeilOfRatio(int64 a, int64 b) { return (a + b - 1) / b; }
68
69
} // namespace
70
Callers
3
Compute
Method · 0.70
TestCeilOfRatio
Function · 0.50
TestThatCeilOfRatioDenomMinusOneIsIncorrect
Function · 0.50
Calls
no outgoing calls
Tested by
2
TestCeilOfRatio
Function · 0.40
TestThatCeilOfRatioDenomMinusOneIsIncorrect
Function · 0.40