(shape, chunks)
| 3228 | |
| 3229 | |
| 3230 | def _convert_int_chunk_to_tuple(shape, chunks): |
| 3231 | return sum( |
| 3232 | ( |
| 3233 | ( |
| 3234 | blockdims_from_blockshape((s,), (c,)) |
| 3235 | if not isinstance(c, (tuple, list)) |
| 3236 | else (c,) |
| 3237 | ) |
| 3238 | for s, c in zip(shape, chunks) |
| 3239 | ), |
| 3240 | (), |
| 3241 | ) |
| 3242 | |
| 3243 | |
| 3244 | def _compute_multiplier(limit: int, dtype, largest_block: int, result): |
no test coverage detected