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

Function CeilOfRatio

tensorflow/compiler/xla/util.h:442–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440// namespace, as it is very commonly used.
441template <typename T>
442T CeilOfRatio(T dividend, T divisor) {
443 return tensorflow::MathUtil::CeilOfRatio<T>(dividend, divisor);
444}
445
446// Rounds the value up to a multiple of the divisor by first calling CeilOfRatio
447// then multiplying by the divisor. For example: RoundUpToNearest(13, 8) => 16

Callers 15

Slice2DMethod · 0.70
Slice3DMethod · 0.70
Slice4DMethod · 0.70
RoundUpToNearestFunction · 0.70
WindowCountMethod · 0.70
DivideCeilFunction · 0.50
CalculateDimensionalityFunction · 0.50
RoundUpToNearestFunction · 0.50
RunRedzoneCheckerFunction · 0.50
MakePaddingFunction · 0.50
Tile1DFunction · 0.50

Calls

no outgoing calls

Tested by 3

PackLargeInputFunction · 0.40