MCPcopy 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.
67int64 CeilOfRatio(int64 a, int64 b) { return (a + b - 1) / b; }
68
69} // namespace
70

Callers 3

ComputeMethod · 0.70
TestCeilOfRatioFunction · 0.50

Calls

no outgoing calls

Tested by 2

TestCeilOfRatioFunction · 0.40