| 440 | // namespace, as it is very commonly used. |
| 441 | template <typename T> |
| 442 | T 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 |
no outgoing calls