Ensure that numerator is divisible by the denominator and return the division value.
(numerator, denominator)
| 24 | |
| 25 | |
| 26 | def divide(numerator, denominator): |
| 27 | """Ensure that numerator is divisible by the denominator and return |
| 28 | the division value.""" |
| 29 | ensure_divisibility(numerator, denominator) |
| 30 | return numerator // denominator |
| 31 | |
| 32 | |
| 33 | def split_tensor_along_last_dim(tensor, num_partitions, |
no test coverage detected